The Royal Museum
What is the slot for?
Have you tried putting anything in it?
Try the lore book.
This is one (although not the best) way out of the puzzle.