You shouldn't intentionally break rules.
Corey has moved to a new town and is looking at books in the library, despite not having a library card.
Corey wants to bring a book about programming home with him.
Corey fills out the paperwork for a library card and checks the book out.
Corey walks to a back corner of the library and puts the book in his backpack.
Corey is able to study programming and get more books when he needs them.
A librarian notices missing books and reviews security tapes, resulting in Corey being banned from the library.