All public officers, sheriffs, coroners, jailers, constables, or other officers or persons having in custody any person committed, imprisoned, or restrained of the person's liberty for any alleged cause shall admit any practicing attorney in this state whom the person restrained of liberty may desire to see or consult, to see and consult the imprisoned person, alone and in private, at the jail or other place of custody. Any officer violating this provision shall forfeit and pay $100 to the person aggrieved, to be recovered by action of debt in any court of competent jurisdiction.
§ 37-61-418, MCA