Woulda, coulda, shoulda.
The law is to stop the licensed vehicle before entering a public throughfare. That means before crossing the sidewalk. Drivers frequently disregard this because of ignorance, improper training, or simple negligence.
I once nearly ended up in a fist fight with a driver blowing straight across a protected bike lane...nearly sending me over the hood. It wasn't worth the fight.
Drivers (& indeed anyone else who is caught being wrong) will just double down on their wrong position.
Low standards of driver licensing is a cultural phenomenon.
Ride where drivers are looking.