Israel's barrier illegal: World court