The U.N. is not an arbiter of anything in my world.
OK.
But in the real world they have been given that power by many countries. This was the rationale for the Korean “police action” that was not a “war”.