The International Court of Justice issued a non-binding ruling in July 2004 that parts of the barrier were illegal and should be torn down.