It is said that when the retired emperor made the Iwata-gawa River (now the Tonda-gawa River) be investigated, it was just as he was told and his headaches were finally cured after he encapsulated the skull inside Sanjusangen-do Temple's statue of Senju-Kannon and used the wood of the willow tree to construct the beams.
上皇が岩田川（現在の富田川）を調べさせるとお告げの通りであったので、三十三間堂の千手観音の中に髑髏を納め、柳の木を梁に使ったところ、上皇の頭痛は治ったという。