Yes. The president would be immune from prosecution. The order would be illegal though, so any person carrying it out would be criminally liable.
Rather than using dumb questions, I suggest she go review the history of the idea of the sovereign and the King'a absolute immunity for acts he himself commits by his own hand.
Federal jurisdiction is 2/3L elective though, but you'd think a justice would be familiar. Modern jurisprudence requires that a case be dispensed with on procedural grounds if such infirmities exist. Substantive questions are only to be addressed after jurisdiction is firm. This perseveres substantive questions for future determination in many cases. Without such a rule, courts would quickly take up and decide substantive questions for political purpose and effectively prohibit the evolution of law over time, which would likely lead to the quick collapse of the legal regime (it's going to collapse either way, but it will last much longer with such a rule in place).
@Humpleupagus@sj_zero@GenesRus You seem to know the law pretty well. I wish you were on the Supreme Court instead of these DEI appointees who think that the Bill of Rights was never meant to "hamstring the government".
@leyonhjelm@Humpleupagus@GenesRus "Should the President be basically immune to every federal law?" was a question the Founding Fathers never conceived of since they went to extreme lengths to limit the actual powers of the President.
The president is basically immune to every federal law except in cases of literal impeachment. And that’s not a criminal trial. It’s essentially an HR incident
Plus, the president fulfills the exact same roles as king while in office — diplomacy, military, execution of laws, and veto power. Thus, it should be presumed that they intended sovereign immunity to apply, as it does against kings, because they would have said otherwise if they wanted a different rule. They were not unaware of existing law.