The final deal also dropped demands for Poland to sign up to climate goals in exchange for green transition funds.