There’s also chimeras who can have some XY cells and some XX cells due to the fusion of a male and female fertilized zygotes in the early stages of prenatal development.
Resulting in genetic tests of gender to result in different outcomes depending on which cells are sampled.
There’s a women in the medical literature (I have read the original paper, but can’t lay my hands on it right now) who had multiple children & was discovered to be a 99% XY / 1% XX chimera IIRC.
(edit) This is probably the case paper I was thinking of: https://pmc.ncbi.nlm.nih.gov/articles/PMC2190741/ It was her ovaries that were 99/1% proportions. Other parts of her body had varying levels of mosaicism.
Resulting in genetic tests of gender to result in different outcomes depending on which cells are sampled.