I guess you have not actually read the ruling of the court and really have very little clue about what entire case actually involved. Please educate yourself before you post any more false claims. 
Here is quote from the actual court ruling:

".......the Court of Appeal considers that Israel is entitled to ensure order and public life in the West Bank, therefore Israel has the right to build a light rail, infrastructure and dwellings.
Article 43 of the Fourth Hague Convention of 1907 stipulates that « The authority of the legitimate power having in fact passed into the hands of the occupant, the latter shall take all the measures in his power to restore, and ensure, as far as possible, public order and safety "