Well, this is fantastic.
In 1889, British prime minister William Gladstone decided to make his 32,000-book library available to the public. Further, he envisioned the space (located in Wales) as a sort of scholarly hotel, at which visitors might spend the night and enjoy meals. And you still can! For a very reasonable $75 per night (dinner and breakfast included), you can stay in a lovely room, have access to the entire library, and roam the gorgeous grounds.