Can. 1722 To prevent scandals, to protect the freedom of witnesses, and to guard the course of justice, the ordinary, after having heard the promoter of justice and cited the accused, at any stage of the process can exclude the accused from the sacred ministry or from some office and ecclesiastical function, can impose or forbid residence in some place or territory, or even can prohibit public participation in the Most Holy Eucharist. Once the cause ceases, all these measures must be revoked; they also end by the law itself when the penal process ceases.