Let’s be perfectly honest here.
The purpose of International Law is to provice an ethical framework for the killing of Americans and anyone who allies themselves with America.
International law has no moral credibility left.
You’ve pretty much hit it.