(a)
Any person who attempts or purports to exercise the powers, rights, and privileges of a corporation that has been suspended pursuant to Section 23301 or who transacts or attempts to transact intrastate business in this state on behalf of a foreign corporation, the rights and privileges of which have been forfeited pursuant to the section, is punishable by a fine of not less than two hundred fifty dollars ($250) and not exceeding one thousand dollars ($1,000), or by imprisonment not exceeding one year, or both fine and imprisonment.
(b)
This section shall not apply to any insurer, or to counsel retained by an insurer on behalf of the suspended corporation, who provides a defense for a suspended corporation in a civil action based upon a claim for personal injury, property damage, or economic losses against the suspended corporation, and, in conjunction with this defense, prosecutes subrogation, contribution, or indemnity rights against persons or entities in the name of the suspended corporation.
(c)
Nothing in this section shall create or limit any obligation upon an insurer to defend a suspended corporation.