Syria has decided to sign the Paris agreement on climate change, the world’s final functioning state to do so.