> The President enjoys no immunity for his unofficial acts, and not everything the President does is official. The President is not above the law. But Congress may not criminalize the President’s conduct in carrying out the responsibilities of the Executive Branch under the Constitution. And the system of separated powers designed by the Framers has always demanded an energetic, independent Executive. The President therefore may not be prosecuted for exercising his core constitutional powers, and he is entitled, at a minimum, to a presumptive immunity from prosecution for all his official acts.
https://www.supremecourt.gov/opinions/23pdf/23-939_e2pg.pdf
EDIT: OP left a reply to this comment that I think was unfairly flagged, visible here with showdead: