The US supreme court ruling on the immunity of the president

I suppose that the supreme court in fact had no other choice but to decide that the president enjoys immunity for „official“ actions.
A country that is used to use military intervention and the eliminiation of (assumed) terrorists as means of foreign policy needs to exempt their president from criminal prosecution to some extent.

Maybe it’s even a good thing that courts will now have to define further which activities, regarding foreign countries, hostile, neutral, or allies, or regarding the homeland, are exempt from criminal prosecution.