27-28-306. Rights of prevailing party to take office and demand books and papers. If judgment is rendered in favor of the person alleged to be entitled to an office, the person may, after taking the oath of office and executing any official bond required by law, take upon the person the execution of the office and the person shall immediately upon taking the office demand of the defendant all the books and papers in the defendant's custody or within the defendant's power pertaining to the office from which the defendant has been ousted.