(a) If a defendant is found not guilty of the offense charged, the Comptroller shall reimburse the defendant for any forfeited bond or collateral received by the Comptroller after a District Court judge has stricken the forfeiture.
(b) If a defendant is found guilty of the offense charged, but the fine is less than the amount of the forfeited bond or collateral, the Comptroller shall reimburse the defendant for any amount received by the Comptroller that exceeds the fine.