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".
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".