1377.
When the person injured by an act constituting a misdemeanor has a remedy by a civil action, the offense may be compromised, A felony offense that is not specified in subdivision (c) of Section 667.5 and does not require registration pursuant to subdivision (c) of Section 290, or any misdemeanor offense, may be resolved through civil compromise, as provided in Section 1378, except when it is committed as follows:(a) By or upon an officer of justice, while in the execution of the duties of his or her their office.
(b) Riotously.
(c) With an intent to commit a felony.
(d) (b) In violation of any court order as described in Section 273.6 or 273.65.
(e) (c) By or upon any family or household member, member of the defendant, or upon any person when the violation involves any person described in Section 6211 of the Family Code or subdivision (b) of Section 13700 of this code.
(f) (d) Upon an elder, elder or dependent adult, in violation of subdivisions (b), (c), and (f), of Section 368 of this code or of subdivision (a) or (b) of Section 15656 of the Welfare and Institutions Code.
(g) (e) Upon a child, as described in Section 647.6 or 11165.6.
(f) Where the crime results in a death.