1. An individual is guilty of an offense if the individual causes blood, emesis, excrement, mucus, saliva, semen, vaginal fluid, or urine to come in contact with:
a. A law enforcement officer acting in the scope of employment;
b. An employee of a correctional facility or the department of corrections and rehabilitation acting in the scope of employment unless the employee does an act within the scope of employment which requires or causes the contact;
c. Any person lawfully present in a correctional facility who is not an inmate;
d. Any person lawfully present in the penitentiary or an affiliated facility of the penitentiary who is not an inmate; or
e. Any person who is transporting an individual who is lawfully detained.
2. Subsection 1 does not apply to a mentally ill person as defined in section 25-03.1-02 who has been detained pursuant to chapter 25-03.1.
3. The offense is a class C felony if the individual knowingly causes the contact and is a class A misdemeanor if the individual recklessly causes the contact.