''Hr. Jakop'' is a Norwegian folktale in the Wittenberg genre.
The Wittenberg school is a decently popular topic in folktales, as it was thought that the priests going to study there were under the tutelage of the devil. That the priests there would receive an education and the ''black book'' (in folklore, a book of spells that can't be burned, thought to be written by the devil) in exchange for 1 student of the graduating class were to give up their soul.
Which, I must admit, think is funny. In a ''so it's fine when YOU DO IT'' kind of way.
Tricking the devil to take their shadows instead of the soul is a pretty popular result as a way to showcase the priests wits. Not that it's much of a feat.
Fanden Tyken, The devil's stand in\actor, is my OC. (They\Them)
Original folktale under the cut.