Some parts of the world luckily still seem to run on this obscure ancient thing called morality, trump didn't have time to mess up this part of the world
Sometimes treaties are made and nobody needs to be threatened for people to keep them. That's what it means to be in society. If you cannot have treaties without the threat of outside violence you are in a primary school playground.
Try not paying your taxes, or paying fines, resisting bailiffs, and yet refusing to go to court/jail and see how things work outside the "primary school playground". You'll see it is all based on the threat of physical force, even if you can't see so. If violence is the last resort, is is by that measure the "foundation" of society, if not the basis.
That said, the international community is not "society". You can have all the treaties you want, the threat of violence comes when nations care to break them.