This has nothing to do with format shifting at all. The IA's normal book-lending service works that way, but the "emergency library" allowed more copies of a book to be "borrowed" than they actually physically owned.
This is straight-up piracy, and there's a 0% chance of it being legally justified.
This is straight-up piracy, and there's a 0% chance of it being legally justified.