There's no inconsistency here. People with XY chromosomes (i.e. Imane Khelif) should not be competing in women's sports. Imane probably has ambiguous genitalia that was identified as a vagina at birth (i.e. a legitimate usage of the term AFAB), but should not be competing in women's sports. Intersex people often have undescended/underdeveloped testicles that give them an unfair advantage vs women.