(1) A person commits the crime of second degree criminal trespass if such person:
(a) Unlawfully enters or remains in or upon the premises of another which are enclosed in a manner designed to exclude intruders or are fenced; or
(b) Knowingly and unlawfully enters or remains in or upon the common areas of a hotel, motel, condominium, or apartment building; or
(c) Knowingly and unlawfully enters or remains in a motor vehicle of another.
(2) Second degree criminal trespass is a class 3 misdemeanor, but:
(a) It is a class 2 misdemeanor if the premises have been classified by the county assessor for the county in which the land is situated as agricultural land pursuant to section 39-1-102 (1.6), C.R.S.; and
(b) It is a class 4 felony if the person trespasses on premises so classified as agricultural land with the intent to commit a felony thereon.
(3) Whenever a person is convicted of, pleads guilty or nolo contendere to, receives a deferred judgment or sentence for, or is adjudicated a juvenile delinquent for, a violation of paragraph (c) of subsection (1) of this section, the offender's driver's license shall be revoked as provided in section 42-2-125, C.R.S.