(a) A pedestrian shall not proceed along a bicycle path or lane where there is an adjacent adequate pedestrian facility.
(b) (1) A peace officer, as defined in Chapter 4.5 (commencing with Section 830) of Title 3 of Part 2 of the Penal Code, shall not stop a pedestrian for a violation of subdivision (a) unless a reasonably careful person would realize there is an immediate danger of a collision with a moving vehicle or other device moving exclusively by human power.
(2) This subdivision does not relieve a pedestrian from the duty of using due care for their safety.
(3) This subdivision does not relieve a bicyclist from the duty of exercising due care for the safety of any pedestrian within the roadway.