The Kenreimon Gate, Old Emperor Castle