When a defendant is held to answer on a charge of misdemeanor, for which the person injured by the act constituting the offense has a remedy by a civil action, the offense may be compromised as provided in the next section, except when it is committed:
1. By or upon an officer of justice, while in the execution of the duties of his office.3. With an intent to commit a felony.4. As an act of domestic violence as defined in section 39-6303(1), Idaho Code.[(19-3401) Cr. Prac. 1864, sec. 661, p. 295; R.S., R.C., & C.L., sec. 8205; C.S., sec. 9173; I.C.A., sec. 19-3301; am. 1998, ch. 209, sec. 1, p. 737.]