Exactly!The UN doesn't decide what is legal or illegal in sovereign nations. It might shout, grind its teeth and babble, but it has zero enforcement. Using the word "illegal" is simply virtue signalling.
The UN doesn't care about people being killed in almost any spot in the world except Israel. And any laws that it might hope to enforce, are unenforceable because they choose to ignore the most egregious examples and instead pick those of enemies.
Seriously? You can't just grab a bunch of people and start declaring things illegal, for example let's say Alex invites 100 random people over in Somewhere, Idaho he and his buddies make a law proclaiming that the democratic republic of the Congo can't have rocks, they proclaim rocks illegal there, they can proclaim it all they want, but it still will not have any authority.Being a Sovereign Nation doesn't give you a free ticket to do whatever you want. I'm not sure what not having enforcement has to do with legality. The ICJ (international court of Justice) has ruled Israel's actions illegal several times.
Whataboutism.