Doman came to Kyoto with a proposal that the loser of a game of magic between him and Seimei performed at the Imperial Palace become the student of the winner whereby the emperor had a chest containing 16 large oranges brought out hidden from the view of the 2 competitors and said, 'Tell what is inside.'
道満が上京し晴明と内裏で争い負けた方が弟子になるという呪術勝負を持ちかけたことにより、帝は大柑子を16個入れた長持を占術当事者である両名には見せずに持ち出させ「中に何が入っているかを占え」とのお題を与えた。