Diplomacy isn't about hard rules - the ICJ can't say "We impose a cease-fire" and demand that the GM of the world step in an immediately cease hostilities. Everything in diplomacy is about posturing and implications - it's why the US has managed to maintain the frankly insanely incoherent "Strategic Ambiguity" of trying to appease the PRC and Taiwan simultaneously, and it works - both countries are happy that the US winks after every statement about the PRC or Taiwan and gives local politicians room to favorably interpret the US statements to their base and reinforce that "Actually they're on our side".