1.    An individual is guilty of a class C felony if, knowing that that individual is not licensed or privileged to do so, the individual enters or remains in a dwelling or in highly secured premises.

2.    An individual is guilty of a class A misdemeanor if, knowing that that individual is not licensed or privileged to do so, the individual:

a.    Enters or remains in or on any building, occupied structure, or storage structure, or separately secured or occupied portion thereof; or

b.    Enters or remains in any place so enclosed as manifestly to exclude intruders.

3.    An individual is guilty of a class B misdemeanor if, knowing that that individual is not licensed or privileged to do so, the individual enters or remains in any place as to which notice against trespass is given by actual communication to the actor by the individual in charge of the premises or other authorized individual or by posting in a manner reasonably likely to come to the attention of intruders. The name of the person posting the premises must appear on each sign in legible characters. An individual who violates this subsection is guilty of a class A misdemeanor for the second or subsequent offense within a two-year period.

4.    An individual is guilty of a class B misdemeanor if that individual remains upon the property of another after being requested to leave the property by a duly authorized individual. An individual who violates this subsection is guilty of a class A misdemeanor for the second or subsequent offense within a two-year period.

5.    This section does not apply to a peace officer in the course of discharging the peace officer’s official duties.