That is a dumb law that was made when motorcycles were the only vehicles competing inside walks.
There is very little traffic on sidewalks and using it for pedestrians and scooters and bicycles is much better. Especially considering that cyclists can pause or go around pedestrians when necessary.
Having an absolute law rather than an adaptive is not useful to the community.