Yes, issue was with structure...all free-standing structures are apparently against city code. The part that particularly ridiculous about that is that it's an enclosed bookshelf barely as tall as the kid.
Another article with picture.
Makes about as much sense to me as giving a citation for having a table in your yard. (According to the officials quoted in article they would cite a couch in the yard, so table would probably get it too there...)