Why the UK is legally free to negotiate future trade agreements before Brexit