Our political editor reflects on the UK's deal with the EU to smoothen frictions in trade.