Ours is a system of “checks and balances.”
The president can do this or that, but the courts and Congress can put a stop to it (depending on the circumstances and relevant rules). When the courts rule that the executive branch can’t do something, Congress can write a new law saying the president can do it.
When Congress passes a law the president doesn’t like, the president can veto it. Congress, if it has enough votes, can override the veto. And so on. The whole idea is to deny any one branch or person too much concentrated power.
HOW THE SYSTEM IS SUPPOSED TO WORK
I’m sorry if I sound a bit condescending given that everyone is supposed to have learned this stuff in grade school. But it seems a lot of people have forgotten how our system is supposed to work, so I thought a quick recap

Yahoo Canada

Canada News
The Canadian Press
National Post
NBC Connecticut Entertainment