The city or village officials don't care other than if they can respond to a complaint and if they make money or not. Also depends on the individual themselves and how hard they want to play ball.
I haven't had these types of issues, but the Sparta village where I'm at threw a fit because my deuce was off the driveway and on the side of the yard. Can't park vehicles in the yard. Then they told me it cannot be parked in the street. So I extended my driveway using some gravel and separated the driveway from the gravel with yard edging. I parked on it. Then they told me I had to have a permit, submit the new dimensions to them for approval, and that I had to use concrete once approved. They got a swift kick in the pants when I called and talked to the village ordinance guy. I told him I did yard landscaping and it was separated by the edging, not connected to the driveway. Then I read him the enforcement code and then told him there was no code that enforced what people parked on their landscaping and that landscaping according to their code was not considered "the yard" as it was defined by empty property surrounding the home that was grassed or dirt. He back peddled and told me I needed a permit for landscaping and again, I had to find that code and read that too him as landscaping was not building or altering a structure therefore no permit was needed. He brought up other issues that was pointless, such as the sidewalk and how it wasn't rated to hold 14,000 lbs on it, which he was right, but I had to remind him the sidewalk was just as thick as my driveway and the same concrete and it's rated at 3000lbs per square foot or something like that, whether that's true I don't think it is, but the fact that the truck drives on 6 wheels and not one, the side walk was never being over rated in weight capacity and the fact other builders in the area have fully loaded concrete trucks driving over the side walks and they don't vaporize. The guy finally gave up and I haven't heard from them again, but this shows some of them try to go out of their way. Sometimes they are trying to enforce code and if it's explained well enough in code, they have what they need to back up their claim. I hope in Nguyen's case this gets settled in his favor, but unfortunately many of us have had to deal with the BS and the like.