In Israel , meanwhile , the state prosecutor , Eran Shendar , responded on Wednesday to a ruling last July by the International Court of Justice at The Hague that most of Israel 's separation barrier violated international law because it was built on West Bank land .