When the defendant is acquitted in a misdemeanor or infraction case, if the court certifies in the minutes that the prosecution was malicious and without probable cause, the court may order the complainant to pay the costs of the action, or to give an undertaking to pay the costs within 30 days after the trial.
Cal. Penal Code § 1447
Proceedings in Misdemeanor and Infraction Cases
Amended by Stats. 1998, Ch. 931, Sec. 413
Official source: California Legislative Information. Reproduced from public-domain California statutes; confirm against the official source for the current text. Not legal advice.