On satisfactory proof of the ownership of the property, the magistrate before whom the information is laid, or who examines the charge against the person accused of stealing or embezzling it, must order it to be delivered to the owner, on his paying the necessary expenses incurred in its preservation, to be certified by the magistrate. The order entitles the owner to demand and receive the property.
Idaho Code § 19-3802