The rape does not cause the implantation of the fertilized egg, the mother’s body willing does that and is in fact designed to do so. The fact that the child was unwanted originally is irrelevant to the fact that the child was invited into the mother’s care. Off-topic but that is the answer.
Trespassing is still trespassing, even if you leave your door unlocked. Invited guests are not trespassers.