This is probably the entrance to a site for the worship of Natha, the Ceylonese counterpart of the all-compassionate Buddhist deity Mahayana Bodhisattva Avalokitesvara. The shrine in Kandy dedicated to him, considered an especially lucky and sacred place, was where some royal ceremonies were held, including that for the naming of new kings.