So, let me get this straight: The President can do whatever they want as long as it is deemed an “official act”. The people who decide if an act is official or not are the courts, ultimately decided at the level of the Supreme Court. And the Supreme Court is nominated by…the President.
Yep, that checks out.