Well there are few penalties for ignoring international law, so while I share your love of the concept I have to recognize that without teeth international law isn't going to protect you from a bad government, wherever that happens to be. A few people have been prosecuted in the International Criminal Court, but I don't think that's a serious deterrent to most international actors.