Cal. Bus. & Prof. Code § 6158.4
(b)
(c) Any licensee or certified lawyer referral service who was the subject of a complaint and any complainant affected by the decision of the State Bar may bring an action for declaratory relief in the superior court to obtain a judicial declaration of whether Section 6158, 6158.1, or 6158.3 has been violated, and, if applicable, may also request injunctive relief. Any defense otherwise available at law may be raised for the first time in the declaratory relief action, including any constitutional challenge. Any civil enforcement action filed pursuant to subdivision (e) shall be stayed pending the resolution of the declaratory relief action. The action shall be defended by the real party in interest. The State Bar shall not be considered a party to the action unless it elects to intervene in the action.
(1) Upon a State Bar determination that substantial evidence of a violation exists, if the complainant or the licensee or certified lawyer referral service brings an action for declaratory relief to obtain a judicial declaration of whether the advertisement violates Section 6158, 6158.1, or 6158.3, and the court declares that the advertisement violates one or more of the sections, a civil enforcement action pursuant to subdivision (e) may be filed or maintained if the licensee or certified lawyer referral service failed to withdraw the advertisement within 72 hours of the State Bar determination. The decision of the court that an advertisement violates Section 6158, 6158.1, or 6158.3 shall be binding on the issue of whether the advertisement is unlawful in any pending or prospective civil enforcement action brought pursuant to subdivision (e) if that binding effect is supported by the doctrine of collateral estoppel or res judicata.
If, in that declaratory relief action, the court declares that the advertisement does not violate Section 6158, 6158.1, or 6158.3, the licensee or lawyer referral service may broadcast the advertisement. The decision of the court that an advertisement does not violate Section 6158, 6158.1, or 6158.3 shall bar any pending or prospective civil enforcement action brought pursuant to subdivision (e) if that prohibitive effect is supported by the doctrine of collateral estoppel or res judicata.
(2) If, following a State Bar determination that does not find substantial evidence that an advertisement violates Section 6158, 6158.1, or 6158.3, the complainant or the licensee or certified lawyer referral service brings an action for declaratory relief to obtain a judicial declaration of whether the advertisement violates Section 6158, 6158.1, or 6158.3, and the court declares that the advertisement violates one or more of the sections, a civil enforcement action pursuant to subdivision (e) may be filed or maintained if the licensee or certified lawyer referral service broadcasts the same advertisement following the decision in the declaratory relief action. The decision of the court that an advertisement violates Section 6158, 6158.1, or 6158.3 shall be binding on the issue of whether the advertisement is unlawful in any pending or prospective civil enforcement action brought pursuant to subdivision (e) if that binding effect is supported by the doctrine of collateral estoppel or res judicata.
If, in that declaratory relief action, the court declares that the advertisement does not violate Section 6158, 6158.1, or 6158.3, the licensee or lawyer referral service may continue broadcast of the advertisement. The decision of the court that an advertisement does not violate Section 6158, 6158.1, or 6158.3 shall bar any pending or prospective civil enforcement action brought pursuant to subdivision (e) if that prohibitive effect is supported by the doctrine of collateral estoppel or res judicata.