International law should be differentiated from international transactions, which are not strictly speaking private international law, which itself is different than public international law.
What happens when lawsuits arise from international agreements? That's when private international law can play a role.
Public international law involves States. An example is the softwood lumber dispute, in which the countervailing duty tariffs imposed by the U.S. were considered illegal by Canada because they violated the terms of free trade.