If the adult child finds out what happened, and the insemination doctor is still alive, is the child then entitled to a part of the doctor's (future) heritage? Or if the child finds out when it is still small, or a teenager, will the child be entitled for child support payments from the doctor?
For the inheritance, not if there’s a will. But not all countries let you disinherit your children.
I find it a fair middle ground.