If I were Cameron (of course Cameron would never do this) I would start rounding up the Muslims (including the newly elected Mayor of London), put them in dingoes and set them adrift just past the middle of the channel to France. Then release a statement, that starting immediately Great Britain severs all connections to the EU, and tell the French to mind their own darn business.
You'd have to gut the dingo to fit even a small Muslim and then hope it floated.