The case could have significant bearing on a range of other lawsuits brought against the fossil fuel industry by cities and states across the country.