A defense of justifiable use of force based on the provisions of this part is an affirmative defense.
§ 45-3-115, MCA