Does the UN actually have the power to ban anything?
The UN doesn't really have any power to do anything, it's just a way to organize countries working on a series of topics in such a way that the staff and infrastructure needed to facilitate meetings are already in place instead of every new thing requiring a whole set up phase
People say that the UN is ineffectual, but they have managed to nag countries into better behaviour with a shocking amount of success. Whether that's "power" or not is debatable, but the end result is stuff getting done.