No person, other than a city official performing a lawful duty, shall enter on land or into a building used in whole or in part as a dwelling that is not the person’s own without permission of the owner or person entitled to possession and while so trespassing look through or attempt to look through a window, door, or transom of the dwelling, or that part of the building used as a dwelling, with the intent to violate the privacy of another person.
(Prior Code, § 5.025) Penalty, see § 10.99