If an action is brought against a sheriff for an act done by virtue of his office, and he gives written notice thereof to the sureties on any bond of indemnity received by him, the judgment recovered therein is conclusive evidence of his right to recover against such sureties; and the court, or judge in vacation, may, on motion, upon notice of five (5) days, order judgment to be entered up against them for the amount so recovered, including costs.
Idaho Code § 12-612