All EU states agree to ratify Paris climate agreement