But international law has a lot of influence. As a set of shared norms, it's something that most competently-run countries and polities explicitly foster in order to achieve some sort of long-term stability and predictability that ultimately benefits them all. A "realist" analysis that simply ignores these dynamics and pretends they do not exist is not very realistic after all.