Actually it does if the US, bullies the other countries into not enforcing it and the US it's actually the main country enforcing international law. If a country dare to enforce international law against an us person, they will cut resources or threaten to use military
Even before Trump, the US had a standing policy of threatening severe retaliation against anyone who tries to enforce international law against US citizens-- this isn't just an informal policy, it's a specific law passed by Congress. And the scope has only gotten broader since then.
The whole concept of "international law" is polite fiction anyway, the reality has always been "the strong do what they can, the weak endure what they must".
Unless they are granted a blanket pardon beforehand.
Then all you can really do is an "audit" for who did what, from which no charges can be laid.