Excommunications
From SSPXWatch
St. Thomas Aquinas, Summa Theologica, Supplement, Q. 21, a. 4
"An excommunication may be unjust for two reasons. First, on the part of its author, as when anyone excommunicates through hatred or anger, and then, nevertheless, the excommunication takes effect, though its author sins, because the one who is excommunicated suffers justly, even if the author act wrongly in excommunicating him. Secondly, on the part of the excommunication, through there being no proper cause, or through the sentence being passed without the forms of law being observed. In this case, if the error, on the part of the sentence, be such as to render the sentence void, this has no effect, for there is no excommunication; but if the error does not annul the sentence, this takes effect, and the person excommunicated should humbly submit (which will be credited to him as a merit), and either seek absolution from the person who has excommunicated him, or appeal to a higher judge. If, however, he were to contemn the sentence, he would "ipso facto" sin mortally.
But sometimes it happens that there is sufficient cause on the part of the excommunicator, but not on the part of the excommunicated, as when a man is excommunicated for a crime which he has not committed, but which has been proved against him: in this case, if he submit humbly, the merit of his humility will compensate him for the harm of excommunication."
St. Athanasius submitted humbly to the unjust excommunication....Archbishop Lefebvre ignored and rebelled against his 1988 excommunication.