Formed after World War II to prevent global conflict, it has become an anachronism, as demonstrated when Donald Trump used the forum to effectively declare war on Iran.