The UN can also be considered an active belligerent in this war against Israel. It has happened that the UN was a belligerent during a war. An example is the Korean War (you can check the Wikipedia page).
Consequently, any determination by a UN body is of questionable validity.