I (also in CA) lemon returned a Mercedes EV. Same kind of thing, they could not fix repeated software issues w/ the collision avoidance features.
I called them up, gave a short explanation, and they sent me to their vendor who handles the returns, no issues. Full price (including tax etc) back.
AIUI, they know not to fight, since in CA when they loose, they pay your legal fees.
I just got repeated run arounds from the euro brands - like they can’t reproduce it or that it was determined to be a non issue. The dealers would just eventually give me the phone number for the corporate line if I wanted to push more. But it wasn’t even some kind of support phone number - literally just a generic corporate number. So basically they were telling me to go away. Oh and top of that they charged me for diagnostic time.
I'm having a similar issue with Volvo. It occasionally sees a gate track on the ground as a 'hazard' and will hard-brake when slowly backing over it. It's inconsistent but happens regularly.