Whenever a fine has been imposed for violation of this division, and before the full payment of the fine a sentence of imprisonment is imposed instead, the imprisonment shall be recorded and accounted for to the county auditor.
Ca. Health and Saf. Code § 11505