In that every sidewalk in San Francisco is a toilet I don’t see where the law is needed.
Maybe if they made every third section of sidewalk a grate and put gravel or pipes underneath...