Unless there is some catholic defination of bastard other than the dictionary......
I already know the definition and also know the history of the Catholic Church. Maybe you should read up more on them? You’re the one that appears to be confused with the “bastards” thing.
“Bastard” is a legal category, not a church one. A church annulment has no effect on the legal status of children.