With all due respect, the pope is wrong....the only thing that matters is how on an individual basis we answer the question "And what did you do with Jesus Christ?" Nothing else matters as far as one's salvation. The church is just the body of believers.
2 Corinthians 5:17 Therefore if any man be in Christ, he is a new creature: old things are passed away; behold, all things are become new. 18 And all things are of God, who hath reconciled us to himself by Jesus Christ, and hath given to us the ministry of reconciliation;
“The church is just the body of believers”
Christ started one church, the Catholic Church. A very visible church of believers. Nothing at all invisible about it. It was that way for 1,500 years until the heretic Martin Luther thought he knew more than God himself and he and his followers broke away from the Catholic Church. Protestantism is a false religion. Eternal salvation is through the Catholic Church they broke away from. I would suggest that if you care anything for your eternal salvation you return to the faith of your ancestors.