If the territorial election commission made a decision to replace a local council deputy before the court's consideration of the legality of his recall is completed, and the court then declared the recall illegal, will the status of a deputy be restored to the person who was recalled?