“The Energy Charter Treaty was a major barrier to the progress of a just transition,” said one climate action group.