Well, one must remember that the “gates of hell shall not prevail” against the Church.
That is true and thank God! But the church is constantly under attack by evil and we have to hold our own for Christ even if evil reaches the Pope for a time.
That Scripture refers to
THE BODY OF CHRIST.
THE BODY OF CHRIST
is wholesale
NOT [remotely] EQUAL
to the Vatican political bureaucratic structure/oranization/church