If the UK leaves the EU, then it may become even an even more attractive safe haven for foreign-capital investments, given that the whole point of BREXIT is the limit the reach of the EU authorities.
Governments will be forced to do everything they can to keep it inflated, as if it pops, then the damage to the UK economy will be immeasurable.
Yes, it'll cause pain. The longer they keep kicking the can down the road, the more people get sucked into buying at comically inflated prices on the assumption of ZIRP+HPI forever, the more painful it'll be. And the politics are slowly but surely changing, as the shut-out shift from an easily-ignorable minority to a near-majority.