They'll still need to spend resources (and so will earn reduced profit) updating processes/code/etc to comply with the regs, plus ongoing costs to ensure compliance.
They actually _spent_ resources to ensure that non-hp cartridges are treated differently. If they had been prevented by law to do it (and maybe they are), they would have saved money!