830. Any person whom the judgment declares to be entitled to the office, or the franchise, may, after taking the oath of office, and giving such security of such office or franchise, and may demand of the defendant all keys, books, papers and insignia, in the possession or custody of such defendant and belonging to such office or franchise, and in the case of neglect or refusal to deliver up the same, the Court or Judge may order the Sheriff to take possession of such keys, books, papers and insignia, and to deliver over the same to the person adjudged to be entitled thereto, without prejudice to any criminal proceedings to which such defendant may be liable.