In 818, official documents issued by Daijokan (Grand Council of State) permitted men to enter the nunnery temples which forbid the entrance of men only during the daytime.
弘仁9年（818年）に男子禁制の筈の尼寺に昼間に限って男子の出入りが許される太政官符が出される。