Top UN court says climate change 'urgent and existential threat;' states have legal duty to prevent harm