It was not restoration at all, I think. In 1860-th the fortress was in domain of Zinovjeff clan. There was chapel and family cemetery in the fortress. This brickwork has been made for safety passage.