The judicial branch decide what's legal and what is not in most modern democratic country by interpreting laws written by the legislature. However, in parliamentary systems, like UK or Canada, the government mostly control the legislature and impose its agenda. I'm unsure about Czech republic but clear power separation like the US is uncommon.