Sidewalks are for pedestrian traffic. They should be free of obsticles, including tables with sale items, benches, and yes, planters and TREES. Make it a law and enforce it. If the owner fails to cooperate, simply remove the obsticle and dispose of it. I know this stuff looks cute and quaint, but sidewalks are for people.
More information about formatting options