Every person other than a public officer or employee acting within the course and scope of his employment in performance of a duty imposed by law, who enters or remains in any noncommercial dwelling house, apartment, or other such place without consent of the owner, or his agent, or the person in lawful possession thereof, is guilty of a misdemeanor.