That seems to be what happens. you can also change the sex marker on your passport, driving licence, and NHS registration just by asking.
You cannot, however, have the sex marker changed on a birth certificate if the registrar incorrectly sexes your 5 day old baby.