Browsing in a public library is an extraordinary way for Kirk to spend the last hours on a doomed planet with only the librarian left; but this is no ordinary library or, indeed, librarian.
Strange that a centre of culture should be the cause of stripping fifty centuries of civilisation from Mr Spock, much to Dr McCoy's amazement and horror.