(2) knowingly causing or permitting the child to be present where any person is selling, manufacturing, possessing immediate precursors or chemical substances with intent to manufacture, or possessing a controlled substance, as defined in section
15201., subdivision 4, in violation of section
152021.,
152022.,
152023.,
152024., or
1520262.; is guilty of child endangerment and may be sentenced to imprisonment for not more than one year or to payment of a fine of not more than $3,000, or both.
If the endangerment results in substantial harm to the child's physical, mental, or emotional health, the person may be sentenced to imprisonment for not more than five years or to payment of a fine of not more than $10,000, or both.
This paragraph does not prevent a parent, legal guardian, or caretaker from causing or permitting a child to engage in activities that are appropriate to the child's age, stage of development, and experience, or from selecting health care as defined in subdivision 1, paragraph (a).