Dig deep enough and one finds that much of international law is custom and practice driven by necessity.
“...much of international law is custom and practice driven by necessity.”
So like the Russian invasion of Ukraine, then ?