A person adjudged to have usurped an office or franchise shall be deprived thereof by the judgment of the court, and the person adjudged entitled thereto shall be placed in possession thereof; but no one shall be adjudged entitled thereto, unless the action be instituted by him. And the court shall have power to enforce its judgment by causing the books and papers, and all other things pertaining to the office or franchise, to be surrendered by the usurper; and by preventing him from further exercising or using the same; and may enforce its orders by fine and imprisonment until obeyed.
KRS 415.070