If I want to the public library and the fire extinguishers didn't work the fire marshal would put a lock on the door. If the shelves fell over and smashed the patrons they'd be sued out of existence. Just because something is 'public' and/or a 'library' doesn't mean there isn't a necessity of upkeep to ensure it's not a danger to others.