What if they can just treat it and not otherwise harm the baby. That’s where the issue gets fascinating.
Treating an embryo in the womb will be very diffucult to do without inadvertently messing something else up also, especially if it involves hormones like testosterone that do a multiple of different things, many of them unknown.
Not that it is impossible, but if this is true than the test will be out long before a cure.