^^
Well, yes, that's why the settlement amount is $120million instead of some much lower number, had NRG been required to write a check as customer rebates (which it did for $20 million). NRG has a very credible case that a court of law would award California nothing in damages; even if it were to settle for cash, a much smaller amount than $120 million would have been comparable to the settlement that the State reached with Sempra. But by investing in EVs, NRG is helping the state meet public policy goals while advancing its own business objectives. The $100 million it's putting into EV infrastructure is far more than NRG would have put in strictly as a for-profit company.
This settlement is a win/win/win for California ratepayers, EV drivers, and NRG. I may not be Elon Musk that I can invest pots of my own money to move the ball on EVs, but I'm delighted that I can help a client do so.