A. If the pill reconstructed my body to match my brain, that is, it granted me a fully female body, I would take it of course.
B. If the pill reconstructed my brain to match my original body, I am sure that:
1) The pill would be fully approved by the Western European cultural patriarchy and religious groups
2) There is a fair chance it would be mandatory in this country
3) It would be suicide, effectively death of personality, wiping my mind and all that I am in favor of some construct that would make others slightly less uncomfortable with me.
As it stands, I took Option A, a pill and treatment to bring my body into alignment with my brain. Alas, not a single pill, but years of pills, several surgeries, and considerable physical conditioning and rehab efforts were needed. It does work, though.