The power of the Executive to repel sudden attacks and to conduct wars (as the Commander In Chief) was not the subject of this judicial decision. The power to assign the status and designation of terrorists and terrorist organizations, as well as the criteria and procedures involved was the subject.
Since the Senate is involved in ratifying treaties with foreign nations, it would make sense to at least have some advice and consent of the Senate.
I am not cheering this decision by any means. Hopefully the AG will get some advice on getting the proper verbiage and procedures in place. Or there should be a joint session called by the President (which he does have the power to do!) to demand that legislation be enacted regarding the designations of terrorists, terrorist organizations, state sponsors of terrorism, AND punitive actions, including military force.
But then the Congress would not be able to blame the Executive. And the beat goes on.
The power of the president to conduct foreign affairs are able to be negatived by the Senate, not the Judiciary.
In this case that was not done.
Americans of course have no Constitutional right to interfere in other countries' affairs. None at all.
All power over foreign affairs resides in the federal government.