Whether the Church should excommunicate anyone?

Objections

Objection 1 : It would seem that the Church ought not to excommunicate anyone, because excommunication is a kind of curse, and we are forbidden to curse (Rm. 12:14). Therefore the Church should not excommunicate.
Objection 2 : Further, the Church Militant should imitate the Church Triumphant. Now we read in the epistle of Jude (verse 9) that "when Michael the Archangel disputing with the devil contended about the body of Moses, he durst not bring against him the judgment of railing speech, but said: The Lord command thee." Therefore the Church Militant ought not to judge any man by cursing or excommunicating him.
Objection 3 : Further, no man should be given into the hands of his enemies, unless there be no hope for him. Now by excommunication a man is given into the hands of Satan, as is clear from 1 Cor. 5:5. Since then we should never give up hope about anyone in this life, the Church should not excommunicate anyone.