Brexit: EU judges to decide on UK cases ‘for years after EU withdrawal’