Leftist climate activists almost hijacked the courts