this message may be offensive
I don't know if this works, but hear me out.
So let's say a man and woman did the bunkalunka, and the woman got pregnant. Then don't they have roughly a nine month window, to marry each other. And thus hypothetically, their child isn't born a bastard.
The reason why I am writing this, is because of the sentence: "I'm not a bastard! I know it because I there when they were married!"