Ms Ellis submitted if Cooper went to jail in a men's prison, she would be in significant danger and at great risk of abuse.
Transgender is a recognised medical condition, which can require a variety of treatment options.
A transgender woman is a person born male who has gone through, or is in the process of, transition or gender change.
Cooper has been on remand at a men's prison while awaiting sentencing.
A police report said Cooper had been drinking with others at a Whangarei home when an argument erupted between her and another man.
Cooper punched the man in the face causing him to fall off a chair and then threw various things at him, including cups.
When the man got to his feet, Cooper hit him over the head with an unopened bottle of sparkling wine.
Ms Ellis said that was done as the man tried to punch Cooper. The man suffered two cuts to his head, which needed stitches, and an artery in his leg was cut.