The UN doesn't have any legal authority and even if it did it wouldn't be able to enforce it without the US and it's allies.
Remember, international "law" doesn't exist. There is no legal/illegal. It's all governered by treaties and gentlemen's agreements between nation's.