I would like to wear pajamas to the library because pajamas and warm and comfortable and so is the library.
Libraries have books. My house has books. Through transitive properties, they are the same and have the same dress code.
Also, I am lazy and my pants all seem to be in the wash