Cal. Pub. Res. Code § 25967
(c) If the action is brought at the request of the commission, the court shall determine the reasonable expenses incurred by the commission in the investigation and prosecution of the action.
Before any penalty collected is paid out pursuant to subdivision (b), the amount of such reasonable expenses incurred by the commission shall be paid to the State Treasurer.