The claimant of the property, before he shall be entitled to have the same delivered to him, shall pay all reasonable charges for the safekeeping of the same while in the custody of the law, which charges shall be verified by the affidavit of the officer claiming the same, and determined by the court having jurisdiction thereof. If said charges are not paid, the property shall be sold as under execution; and the proceeds of sale, after the payment of said charges and costs of sale, paid to the owner of such property.
Tex. Code Crim. Proc. § 47.09