Energy Charter Treaty agreed to allow the removal of investment protections to fossil fuels, while protecting renewables.