The separation of powers in government, basically means no branch is more powerful than another. Therefore the legislature can pass a bill countermanding governors unconstitutional order. Furthermore, the court does not have the power to legislate law!