Court revives dispute over energy leasing’s climate impacts