According to the more correct position stated in the text, what is the ruling if one of the listed causes of major impurity occurred before a person accepted Islam?

Ghusl: What Makes It Obligatory and What Does Not