The government agreed a new deal with the EU on youth mobility, food exports and emissions trading at a summit last week.