The provisions of this chapter shall be enforced by the planning director and chief building inspector or their designees. Such officials shall have the right to enter any building or property necessary to carry out their duties in the enforcement of this chapter. It shall be unlawful to locate or occupy a manufactured home until the building official has issued a building permit, and an occupancy permit for such manufactured home has been issued.