It seems to me that the people getting married would have to take their respective religions seriously for this to be an issue.
Bingo. We don’t know what’s in their hearts, but from behaviour and outward appearances...