Shoren-in was part of the Imperial Palace during the Edo period. This is the reason…