The legal relationship between the UK and the EU