The reason was simple and based upon Civil Code section 1717. Where the defense defeats a contract claim with a fees clause on the ground it is in nonexistent, that allows the prevailing defendants to recover fees. (Rainier National Bank v. Bodily, 232 Cal.App.3d 83, 86 (1991).) That led to a remand so the defense could seek to recover fees for prevailing below.