Here are the facts presented by the Infancy Gospel of James.
- Mary was a consecrated virgin with a vow of virginity.
- Joseph was a old widower given the role by the Temple to take the consecrated virgin.
Sin of Onan - have to ejaculate into the woman.
Joseph had to keep Mary intact.
If Joseph wanted relations with Mary, Joseph would have to do so outside and aim inside to not sin and keep Mary intact.
A midwife said Mary was intact at the birth, giving the false sense that Jesus was from a virgin birth.
The simplest explanation. Making Jesus never God and/or god.