The story tells of a Sadaijin (high-ranking courtier) who has two similar-looking children by different mothers, a boy called Wakagimi and a girl called Himegimi, but their mannerisms are those of the opposite sex.
The tengu who cursed the siblings in their previous lives to not be content with the sex they were born with has since become a Buddhist - Willig's translation mistakenly says that it's the siblings' father who has turned to the path [REF].