Countries have agreed to limit carbon from shipping by 2050 but green groups say the pact is flawed.