(1) A vehicle must not be parked, except if necessary to avoid conflict with other traffic or in compliance with the law or the directions of a police officer or traffic-control device, in any of the following places: (a) On a sidewalk. (b) In front of a public or private driveway. (c) Within an intersection.