Depends on the war. Venezuela was quickly won.
But it's not as reductive and simple as your comment suggests. And there's probably still more to the story that the NYT hasn't yet (nor will for a while) leak.
The White House asserts that it is defending the American people from the devastating consequences of the illegal importation of drugs by ‘narco-terrorists’ – consequences that could be compared to an armed attack against the US. However, in international law, only a kinetic assault with military or similar means qualifies as a trigger for self-defence.
https://www.chathamhouse.org/2026/01/us-capture-president-ni...
New leader is equally oppressive, but this time guided by American admin.
All that’s left is a varnish of legality.