Does it say anything about the person who carries out the order from the President?
If a member of Seal Team 6 did assassinate a political rival of the President, would they also be immune from prosecution? To me it sounds like the kind of order they would refuse.