Top UN court rules Israeli occupation illegal