Under UK law
Illegal contract terms can't be enforced. Not like US law, where an illegal contract term renders the contract null and void.
Interesting times for Microsoft lie ahead if they try to start that shenanigans with large businesses, methinks...