My first thought was a secret tunnel to allow people to escape if attacked. But then we’ll let the story play out to the end and see. Others see more sinister reasons I won’t go into here.