After torturing the Hermit for the first time, you are able to open the entrance leading from the first level of the dungeon to the second at any time. After torturing the Hermit for the second time and more, you will get a compass that helps you not to get lost in the catacomb maze of the dungeon and shows you the shortest path to the treasure.