A person who puts a person to death pursuant to a sentence of a court of competent jurisdiction is justified if the person acts in accordance with the sentence pronounced and the law prescribing the procedure for execution of a death sentence.
§ 45-3-109, MCA