How an oil executive led the world to an agreement to ditch