Shell wins appeal against order to cut emissions