The Supreme Court did close one loophole: in deciding whether the clause is a remedy for a breach of contract, the courts will look at the substance of the obligations and not just at how they are expressed. Writing the contract so that there is no breach, but just a conditional obligation, will not get round the rule on penalties if the substance is that one is the primary obligation and the payment is a secondary compensation: so if instead of saying "you must supply the goods; if you do not supply the goods you will pay me £1m" you say "you can either supply the goods or pay me £1m", the court can still decide that the supply of the goods is the primary obligation and the payment is a penalty for breach of it.