They already have serious problems with the EU, because of the immigration referendum before this one, back in February, I think.
They are still scrambling to find a way to reconcile their obligations under their treaties with the EU and their obligations under that referendum. And noone has found a way, yet.