Though this is a funny episode in places - Spock's dialogue for example. I think for a Sci-Fi show this is one of the worst episodes and I'm not suprised Star Trek was going to get cancelled. To make up the required number of episodes the writers were obviously running out of ideas and i'm sure they must have thought; "Wouldn't it be cost saving and fun to do a period episode!" Come to think of it why would they leave a sacred book lying around! I'm sure it would have been in a safe!
I prefer the episode Patterns Of Force!