It's not appropriate for me to debate Catholic beliefs here, but I will say "excommunication" is only canonically legal as a method to bring about repentance (source). If you have a repentant sinner at your door, always remember Christ's sacrifice for our sin. This is the basis of all forms of...