It's a basic civics lesson most school kids know by heart but one that Trump has had to re-learn the hard way: under the US Constitution, the power of the president is checked by the legislative and judicial branches.