In the face of a determined European Union, working in parallel with an unexpectedly aggressive United States, developing countries stood to lose their rights under the Paris Agreement