Whether in every case the priest is bound to hide the sins which he knows under the seal of confession?

Objections

Objection 1 : It would seem that the priest is not bound in every case to hide the sins which he knows under the seal of confession. For, as Bernard says (De Proecep. et Dispens. ii), "that which is instituted for the sake of charity does not militate against charity." Now the secret of confession would militate against charity in certain cases: for instance, if a man knew through confession that a certain man was a heretic, whom he cannot persuade to desist from misleading the people; or, in like manner, if a man knew, through confession, that certain people who wish to marry are related to one another. Therefore such ought to reveal what they know through confession.
Objection 2 : Further, that which is obligatory solely on account of a precept of the Church need not be observed, if the commandment be changed to the contrary. Now the secret of confession was introduced solely by a precept of the Church. If therefore the Church were to prescribe that anyone who knows anything about such and such a sin must make it known, a man that had such knowledge through confession would be bound to speak.
Objection 3 : Further, a man is bound to safeguard his conscience rather than the good name of another, because there is order in charity. Now it happens sometimes that a man by hiding a sin injures his own conscience---for instance, if he be called upon to give witness of a sin of which he has knowledge through confession, and is forced to swear to tell the truth---or when an abbot knows through confession the sin of a prior who is subject to him, which sin would be an occasion of ruin to the latter, if he suffers him to retain his priorship, wherefore he is bound to deprive him of the dignity of his pastoral charge, and yet in depriving him he seem to divulge the secret of confession. Therefore it seems that in certain cases it is lawful to reveal a confession.
Objection 4 : Further, it is possible for a priest through hearing a man's confession to be conscious that the latter is unworthy of ecclesiastical preferment. Now everyone is bound to prevent the promotion of the unworthy, if it is his business. Since then by raising an objection he seems to raise a suspicion of sin, and so to reveal the confession somewhat, it seems that it is necessary sometimes to divulge a confession.