The reason sports are separate is because of statistical biological differences that, depending on the sport, statistically give one gender a biological advantage over the other. Identification, even personality, does not erase this advantage. The reason for separating gender in sports is biological, not social.
So no, in this case transwomen are not the same as biological women. Same when they go to the doctor. The doctor needs to concern themselves with biological concerns, not social ones.