(I’m making up the part about abortion but I’m just trying to use an example :))
Let’s say a person had an abortion, for which there’s an automatic excommunication - so I’ve read. Then they repent, and decide to confess. My understanding is that their Bishop (or a priest, if the Bishop gave the priests in the diocese this authority) - needs to take away this penalty. However, let’s say the person is travelling at the time, or not living at their home diocese temporarily. Can they get the penalty removed in another diocese?