ial agency shall retain only such proceeds as are necessary to cover the costs of administering this Code section, with any surplus to be transferred to the general fund of the state, provided that a state custodial agency may be reimbursed for any firearms formerly in use by the state custodial agency that are sold under this Code section.