Your quote from the Cathecism does indeed seem to indicate that the RCC does not feel that everyone outside the RCC is deprived of salvation.
For ease of reference I have reproduced it here:
“Outside the Church there is no salvation”
846 How are we to understand this affirmation, often repeated by the Church Fathers?335 Re-formulated positively, it means that all salvation comes from Christ the Head through the Church which is his Body:
Basing itself on Scripture and Tradition, the Council teaches that the Church, a pilgrim now on earth, is necessary for salvation: the one Christ is the mediator and the way of salvation; he is present to us in his body which is the Church. He himself explicitly asserted the necessity of faith and Baptism, and thereby affirmed at the same time the necessity of the Church which men enter through Baptism as through a door. Hence they could not be saved who, knowing that the Catholic Church was founded as necessary by God through Christ, would refuse either to enter it or to remain in it.336
847 This affirmation is not aimed at those who, through no fault of their own, do not know Christ and his Church:
Those who, through no fault of their own, do not know the Gospel of Christ or his Church, but who nevertheless seek God with a sincere heart, and, moved by grace, try in their actions to do his will as they know it through the dictates of their conscience - those too may achieve eternal salvation.337
848 “Although in ways known to himself God can lead those who, through no fault of their own, are ignorant of the Gospel, to that faith without which it is impossible to please him, the Church still has the obligation and also the sacred right to evangelize all men.”
I am curious as to how long that has been official RCC doctrine? Was it doctrine in the days of Martin Luther and Jean Calvin?
The Huguenots of France, or the Lutherans, must for the most part, in the early days of the Reformation, perforce have originally been baptized Roman Catholics. But they left the Catholic Church. Would they therefore count as those “who, knowing that the Catholic Church was founded as necessary by God through Christ, would refuse either to enter it or to remain in it.” (thereby placing themselves among those who cannot be saved)?
Now I realize that it is probably unfair to ask you to read into the hearts of persons who have been dead for centuries to see how sincere they were. But let us suppose for the sake of argument that Martin Luther, a former RCC Priest, and his wife Katrina von Bora, a former nun, seriously had ceased to believe that “the Catholic Church was founded as necessary by God through Christ”. Do you see them as conceivably saved under RCC doctrine?
If this doctrine of the RCC Church existed at the time of Luther, what was the point of excommunicating him and declaring his teachings heretical? Surely all those ex-Catholics who followed him into Lutheranism, or the French ex-Catholics who followed Calvin into Calvinism, if they sincerely did NOT believe that “the Catholic Church was founded as necessary by God through Christ” were just as secure in salvation as their RCC counterparts, were they not?
So why did the RCC and the Pope of the era not say: “Bye, folks, send us a postcard and tell me if you find a good roofing contractor for your church! See you guys in Heaven.”
What was the point of acting againt heretics at all? After all, one of the main justifications for the Inquisition was that they were really saving the heretic from his own heresy which would damn his soul to Hell for all eternity. And of course, it was imperative that even if the heretic did not recant, he be put to death to prevent the spread of his heretical doctrine to others who would also be damning their souls to Hell.
But according to the doctrine posted above, none of this was necessary, unless the heretic was insincere, and knew “that the Catholic Church was founded as necessary by God through Christ, would refuse either to enter it or to remain in it.”
Since there is no way to prove or disprove a person’s inner sincereity in such matters, would the doctrine you quoted not have completely eliminated the need for the Inquisition?