> it should be straight forward for the president to say that spying on his enemies, that are also the enemies of the state/government, is an official act
This would be challenged in court by the victims of the President's spying, and the court would ultimately decide whether or not the spying constituted an "official act".