It is the duty of the court in which proceedings concerning the collection of taxes may be brought, where the collection of taxes shall be claimed to be barred under §67-1-1501, when this statute is pleaded, and the truth of the plea appears to the satisfaction of the court, to dismiss the cause, and order that the officer having the respective tax books in charge, enter on the tax books, opposite the name of the taxpayer, a memorandum of the judgment of the court.