Brexit deal came close, but not close enough