Britian is in the midst of a messy divorce with 27 European countries and will need to negotiate all manner of deals from a position of abject weakness, writes Richard Holden.