In every diocese, I believe, not just the bishop but priests designated by the bishop can lift an excommunication.
I ain't no canonist, so if there's more to be said, I hope somebody will jump in and tell it better than I did.
Depending on the circumstances The person may be (NOTE: may be) required to make a public refutation of their previous position.
This would be in the case of notorious sinners or politicians (But I repeat myself), or other public advocates.
I am hoping that you are right and also that the Church may consider REQUIRING, as a condition of lifting the excommunication, such refutation of previous public positions as publicly as the sins were publicized by the sinner.