Money paid into the treasury by virtue of a judgment of the circuit or criminal court upon a forfeited recognizance shall be refunded to the party paying the same, upon the reversal of the judgment by the supreme court, on appeal or writ of error duly prosecuted. The commissioner of finance and administration shall give the party a warrant for the money upon the production of a certified copy of the judgment of reversal.
T.C.A. § 40-11-205