There are millions of things the government could go after him for but they didn't. They didn't go after permits, or safety codes, or anything. They cited him for "abandoned or vacant building open to the public" which is complete BS.
If they went after him for building permits (which do not apply here) or anything else I'd agree that is fine. That is not what happened. What they have done is essentially went after him for a charge of "I don't like what you have that here, it looks ugly"
Also, having an vacant building open to the public is a safety code violation. Why do you think empty building have locked doors and fences around them?
If he had built a gazebo or similar structure on the land, would the neighbors have anything to say about it (except maybe "make sure the homeless can't be comfortable in it")?
http://dpw.lacounty.gov/general/faq/index.cfm?9185=9185&Acti...
Maybe it's intentionally BS, and the city expects him to win. Then the city can say, "well a jury found him not guilty" and shut up the annoying neighbors without looking like they are ignoring the problem.
Hopefully you are right and this turns out in RR's favor.
Look at the Tiny House movement. It's clever but it is also a symptom of something rotten. There is something wrong with a society where half a person's working life is dedicated to the establishment and maintenance of mere shelter.
I don't know if you live in California, but "permits" are the go to weapon of neighborhood activist groups to try to get what they want. Whether it is to prevent building, property use, or nuisances. My guess is that someone argued the container is a "building" (it has windows and a door after all), and every city requires that you get a permit before you put a building on your property. Whether it is a lowly garden shed or a guest house.
Should neighbors be able to attack each other with the municipal code? That is a pretty deep question. Do they? Sure all the time.
Some negative effects are wrongful, but far from all.
[0] - http://image.syracuse.com/home/syr-media/width620/img/weathe...
This was told to me by a US police officer who came in to talk to us about getting ready to drive. He said going to the mall or a football stadium on a Sunday is the perfect way to get practice. It just needed to be private property.
Edit: To clarify this happened a few years ago when I was still in high school.