The cap, introduced by the regulator in 2019, was designed to protect customers who had defaulted onto a standard variable tariff from price gouging by suppliers.
The council will now have to pay out £35,000 in legal fees to the West Dulwich Action Group (WDAG), which brought the case, but campaigners are calling for this to be increased.