Upon demand, the state district or its authorized agent controlling the land or party in charge of such livestock shall release and deliver possession of such livestock to the owner or person entitled thereto upon payment of damages and charges, but said payment of damages and charges shall not act as a bar to the prosecution of said person, owner, or persons in control of such livestock, as hereinbefore provided.
§ 76-16-313, MCA