This article does not apply to any entry in the course of duty of any peace or police officer or other duly authorized public officer, nor does it apply to the lawful use of an established and existing right of way for public road purposes.
Ca. Pen. Code § 552