LibDems: Legal threat looms if single market is split