I’ll explain the apparent contradiction:
I have a background in law enforcement, and when you are addressing a transgendered person, the rules of “simple politeness” dictate that you address the person as s/he prefers to be addressed, regardless of plumbing.
But, on official police reports and on court documents (where you cannot lie because you are making under oath depositions) you are required by law to author your commentaries with the proper gender designation.
That means that a commentary might read, “Shirley Kramer said that HE was walking down the street when HIS purse was stolen…”
The person’s name may in fact be “Shirley,” but if the plumbing is MALE the proper pronouns are mandated by the court, or you are accused of submitting an official crime report that is a lie.
Cases have been dismissed, because of such “technicalities.”