Emissions created when fossil fuels are burned will now be taken into account in the wake of a Supreme Court ruling.