A judge has warned of the dangers of unregulated sperm donation after a couple’s “nightmare” court case with a man who claims to have fathered almost 200 children.