The legislative body of any county is authorized to release any county official in such official's settlements with the county from the payment of any sum or sums theretofore made by such county official for assistants or deputies, when such official would have been entitled to employ and pay such assistants and deputies had the official made application to the proper court for authority to employ them under this chapter.