How do you interpret Canon Law 868?
Can. 868 §2. An infant of Catholic parents or even of non-Catholic parents is baptized licitly in danger of death even against the will of the parents.
If it is lawful to baptize against the parents’ will, then I would say it is lawful and necessary to baptize, even if the adult person formerly maintained an agnostic spirit . The likelihood of this ever happening is so remote that I question why we are even discussing this. The possibility of baptism of desire is not a guarantee whatsoever, and should not be relied upon.
You’re comparing apples and oranges. A dying newborn baby has no faith, has no ability at that moment to obtain faith. They are innocent.
The hypothetical atheist has had the opportunity to develop a faith in God and refuses it. And has never manifested any remote interest in the church… Do we wait for them to loose consciousness for us to exert our will on them?
This example is not so remote. I worked as an ICU nurse for over 8 years. I’ve been at the bedside of numerous dying people. There have been many who I’ve prayed with (Yes, I have prayed with my patients). While there were a couple who were firm atheists and had remained staunch in their atheism even on their death bed, no profound conversion there, and yet I remain hopeful for their salvation.
Me: Is there a priest or pastor you would like us to call for you?
Them: No
Me: Would you like to talk to our chaplain?
Them: No
Me: Would you like to say some prayers?
Them: No, I’m atheist, I don’t believe in God.
What are we supposed to do when these people loose consciousness? Baptize them? When they have not manifested any desire for spirituality? Their free will matters, their consent matters. Which is why the church states that to baptized on the death bed the person needs to have a manifest of a desire for the sacrament of baptism and to live a christian life. Otherwise to baptize them against their will, is to just exert my will over theirs.