That is exactly point; so that at least everyone agrees beforehand when praise/condemnation is appropriate. It doesn't enforce itself, but it does at least provide a notional focus point. Countries do attempt to reward and punish each other in various ways, and "international law" gives some direction to it.