And you know, you actively advocate, that any person who says they are a woman is a woman. Therefore, being 'legally' recognised as female is another irrelevant fact, even though the IOC declared it was a reason for inclusion.
It is not relevant to bring in people with CAIS.
Feel absolutely free to argue that chromosomes do not necessarily make a person a 'man' or a 'woman'. Go for it.
However, even a person who doesn't process testosterone is a male person as I believe you understand. Of course, their situation is not the situation here. Although you, personally, can choose to ignore the IBA tests. It is also important to note here that neither country's boxing federations appealed this ruling in court. If it was a false test, surely they would do so, don't you think?
Your fall back on 'she was legally recognised as female in Algeria' is weak. The IOC failed to protect female athletes in this event. They relied on their guidelines that even they have admitted allow unfair competition to prioritise inclusion of a particular group of male athletes. They have stated this clearly. What they did not do is adopt the international boxing association's regulations despite them claiming that individual sporting authorities should be able to make their own decisions.
The IOC failed to safeguard female athletes in this event.