It often happens that a Pastor is moved by hatred or favor toward any neighbor; but those who follow their own hatreds or favor in the cases of their subjects cannot judge worthily concerning their subjects. Whence it is rightly said through the prophet: They were putting to death souls that do not die, and giving life to souls that do not live. For he puts to death one who is not dying who condemns the just. And he strives to give life to one who will not live who attempts to absolve the guilty from punishment.
Therefore the causes must be weighed, and then the power of binding and loosing m...ust be exercised. It must be seen what fault preceded, or what repentance followed after the fault, so that those whom almighty God visits through the grace of compunction, the sentence of the pastor may absolve. For then the absolution of the one presiding is true, when it follows the judgment of the internal Judge.
Source: Forty Gospel Homilies, Homily 26