Brexit: The possible legal implications of a UK withdrawal from the EU