Someone needed to inject the pertinent teaching of Holy Mother Church.
It certainly wasn’t going to be either of you.
Somebody needed to remind you that there is a Holy Spirit that also takes care of such contingencies that don’t always fit one’s rigidly held church dogma! Christ wants to save us,,,not bite us, even when occasionally, we get an amen or a rosary bead out of place!
The kid will make it to heaven...just fine!