 So the majority doesn't deal with that precise scenario. But the logic of it is that if it's part of the president's official duties, he's commander in chief, he's the chief law enforcement officer, and if it's a plausible application of his official responsibilities, then yes, he would be immune, even for things as wild as ordering an assassination.