On July 9, 2004, the ICJ ruled 14-1 that the wall was illegal in its entirety, that it should be pulled down immediately, and that compensation should be paid to those already affected. The judges also decided 13-2 that signatories to the Geneva Convention were obliged to enforce "compliance by Israel with international humanitarian law." Less than two weeks later, the U.N. General Assembly passed a resolution 150-6 supporting the ICJ?s call to dismantle the wall.
Israel is defying the United Nations. I seem to recall that defying the UN was one of the justifications given for coming the crap out of Iraq.