§ 3980. -Discharge of person confined for contempt
When it appears on the hearing upon such writ that such disobedience or contempt was committed through ignorance, mistake or misapprehension, or by acting in good faith under the advice of counsel, and that relief may be granted without impairing the rights of the parties concerned or the due administration of law, the supreme court may discharge such person from such imprisonment or confinement upon such terms as seem just.