Regulating climate change in the courts