International agreements and the struggle to tame carbon