Pius XII: “In the case of other, more necessary sacraments, when the minister is lacking, he can be supplied through the force of divine mercy, which will forego even external signs in order to bring grace to the heart. To the catechumen who has no one to pour water on his head, to the sinner who can find no one to absolve him, a loving God will accord, out of their desire and love, the grace which makes them His friends and children even without Baptism or actual confession.”
That was his opinion, and it is wrong ... just like his opinion on NFP, evolution, ecuмenical gatherings, and liturgical experimentation.