How exactly would the UK Government enforce a law
Govts don't just not make legislation because they don't know how to enforce it. They make the law, and they figure out the enforcement later. VPS providers will comply because they don't give a single shit about your privacy and aren't going to take the risk.