International law is more like a code of conduct. Also as with most laws, if you’re powerful enough you can ignore the law.