Their faces are sort of similar in term of traits, but Gilles de Rais lost reason even during his lifetime according to the lore, so it isn't surprising he mistakes her anyway, especially due to the holy ailment of both of them.
Well, I guess -any- holy maiden would do for him