The district attorney, county counsel, or applicable prosecuting agency, as the case may be, shall recover, out of the forfeited bail money, the costs and attorney's fees incurred in successfully opposing a motion to vacate the forfeiture and in collecting on the summary judgment prior to the division of the forfeited bail money between the cities and counties in accordance with Section 1463.001.
Ca. Pen. Code § 1305.3