Slightly misleading headline. The city has no issue with the "library", they take issue with the library being a free-standing little shack making it a building code violation.<p>Restricting where on a property one can erect structures is common in building codes across the world. And as always with laws and codes, once you allow for exceptions, everyone and their uncle will go to court to get an exception too.<p>What I think the city should have done is invite the kid over to city hall and offer their assistance in navigating the process towards getting permits or whatever is needed to continue running the "library". That would be a helpful lesson to learn and probably yield a nice photo op for the mayor in the local newspaper - win win. Instead they taught him that government and bureaucracy are soulless machines.