The International Court of Justice declared on Friday that the Israel's occupation of the Palestinian territories is 'illegal' and must end 'as soon as possible'.