Transgender criminal makes history by appearing in court as both a man and a woman