I just spent the last 2 months i Europe and on many side streets there is no place to safely stop a car which means pulling into the sidewalk is the only option. So I frequently had to step into the street to walk around a stopped delivery van or similar.
You're probably not supposed to stop a car in those places, and when you do, you're supposed to stop on the road, never on the sidewalk. Steep fines for that in Belgium at least, though the odds of getting caught are slim.
It's illegal in the US to block the sidewalk with a car and it's one of the few things cities will actually enforce aggressively -- if they don't, they can be sued for discrimination under the Americans with Disabilities Act.
At least in San Francsico this is very rarely enforced. What I've seen professionally and personally is that cities will ticket the easy stuff. Street cleaning is at the top of that list followed by time-based red zones.
I just spent the last 2 months i Europe and on many side streets there is no place to safely stop a car which means pulling into the sidewalk is the only option. So I frequently had to step into the street to walk around a stopped delivery van or similar.