The court , while not specifying a new route , ruled that Israel could build the barrier in the West Bank , which the court described as being under '' belligerent occupation , '' as long as Israel 's security concerns are balanced with Palestinian needs and human rights .