I am not saying I agree with the ban idea, but I can see where some nitwit playing stickup with a fake could get killed for their stupidity.
To me, that is part Darwin Award moment, and partly indicative of how far our culture in general has slid down the slope when there might be presumption that someone's kid is running around with a real firearm and malicious intent, rather than playing 'cops and robbers' or 'army' with a realistic looking toy.
Jurisdictions will probably go for this type of ordinance just to try to avoid the liability exposure and headlines of "Cop Shoots Kid With Toy Gun" when some 'banger was really trying to hold up the local 7-11.
CCW holders don't have the thin blue line to hide behind, and depending on your local laws and the identity of the victim, should you decide to shoot in such a case, things could get really nasty for you if you intervene and the 'gun' the perp has is nothing but a toy, especially if you end up in a situation where the race card gets played.
Had that happen to me in San Francisco, in 1971.
A new Caddie parked, and a well dressed black man got out; across the street & up stairs, the drapes twitched, and what looked like a .45 started tracking him as he walked. This was a poorer, mixed but mostly black area, and both he & the car were very out of place.
I was loading my car for a deer hunting trip, so hid in my recessed doorway, took a bead...AND WAITED FOR A SHOT TO BE FIRED.
The man entered a nearby building, and then a black kid with a toy gun came into full view from behind the drapes. I stood down, and told my wife she wouldn't need to phone the police after all.
Yep; the race card would have been in play, big time.