The resolution at UN have very little to do with true legality, it has to do with political alliances and exchanges of favors.  
 
Two separate French Courts determined what Israel is doing in WB is completely legal in 2013. Even though Palestinians probably chose that court because they thought it would be an easiest place for them to win. 
 
UN appointed ICJ, where judges were hand picked by Arab ran UN, for their political conviction rather than for their knowledge of international law ruled against Israel ten years earlier. 
You draw your own conclusion.

If you believe in UN resolutions then you should at the very least follow the UN charter which in Article 80 guarantees the land West of river Jordan to the Jews.  As a direct result of Article 80, the UN cannot transfer these rights over any part of Palestine, vested as they are in the Jewish People, to any non-Jewish entity, such as the “Palestinian Authority.”