(a)
All fines and forfeitures of bail imposed for a violation of this division and collected in any felony case after the indictment or the legal commitment by a magistrate, or at or after the sentencing hearing, shall be paid to the county treasurer of the county in which the court is held.
(b)
All fines and forfeitures of bail imposed for violation of this division and collected upon conviction or upon forfeiture of bail, together with money deposited as bail, in any misdemeanor or infraction case, or in any felony case at the preliminary hearing or at another proceeding before the legal commitment by a magistrate, shall be deposited with the county treasurer of the county in which
the court is situated and the money deposited shall be distributed and disposed of pursuant to Section 1463 of the Penal Code.
(c)
For purposes of this section, a case in which both a felony and a misdemeanor were charged shall be treated as a felony case.