The idea is that if you have enough sanity, librarians rarely can prevent you from achieving your local goals (reading a book, checking the catalogue, taking the right exit). If a librarian doesn't see you (while you are in the L-space or behind a corner), you can safely pop into his line of sight as long as you know that you'll be able to hide from him on the next turn.