Passing a law is a judicial power - the legistative power is actually limited to passing laws.
The judicial power is the power that is focused on the interpreting laws and constitution.
The laws have to be followed in all the different actions that the executive power performs.