I get the sense this is coming as news to you. But it was always this way, going back as far as international law has really been a thing.
The Nuremberg trials were a glorified kangaroo court, so obviously a sham that even a US Supreme Court justice voiced their opposition. They made a mockery of the concept of law, trying people for laws that did not exist at the time the alleged crimes were committed, and more to the point, even for war crimes that the US and Allies themselves also committed and did not prosecute themselves for. The concept of "war crimes" has never been anything more than a thin veil over winner's justice, dressed up nice and pretty to seem less barbaric. And, to be fair, the Nazis were unfathomably barbaric and earned barbaric treatment - I doubt many would particularly object to summary execution of high-ranking Nazis after the war. But the US turned its retribution into a massive propaganda coup about international justice, upon which it placed itself as the ruler of.
The US, of course, exempted itself from international justice. Ever. Not only does it not punish its own war criminals, it refuses to ratify any treaties like participation in the ICC that would give international accountability to its own soldiers for war crimes, and even further still, it signed into law an act that authorizes the invasion of the Netherlands if an American were ever to be tried at the Hague. Whatever you thought international justice was, for your entire life, has been a propaganda-laden sham. It never existed. The only thing that ever existed was winner's justice. The winners kill the losers at their pleasure. That's all it ever was. In the sense that there's a calamity, it's not because of the collapse of any international institutions, because they were always an illusion made to benefit the powerful.