 Many states have enacted statutes that punish the offence as a felony.Compounding a misdemeanor is not a crime.However, an agreement not to prosecute a misdemeanor is unenforceable as being contrary to public policy.