The discovery of a hole in Earth’s protective ozone layer in 1985 led to a worldwide effort to heal it. But are there lessons that can be applied to today’s treaty talks on climate change?