After the destruction of the old Ponyville library, Mayor Mare petitioned the authorities in Canterlot for help with a replacement library, on Spike’s suggestion, letting Twilight be a ‘consultant’. Much to her chagrin.
The career civil servants in Canterlot have decided this is an excellent opportunity to test trial a new central library distribution system. With Mayor Mare seeing this as an opportunity to secure a lasting legacy for her tenure. While Celestia refuses to update the centuries old library regulations. And Twilight learns the valuable lesson of bureaucratic maneuvering.