The reason that the laws prohibiting it to prevent problems relating to children who are born that are considered to be the son of someone (husband or former husband).
for reasons that do not have laws to prevent the problem of children who were born in that it will be considered as one of the children (new husband or ex-husband).