In Ireland:
www.con-telegraph.ie/news/roundup/articles/2018/10/03/4162881-judge-to-consider-legal-points-in-mayo-case-involving-transgender-pers
“A District Judge is to consider legal submissions as to whether a transgender person could be properly before a court on charges under the Misuse of Drugs Act, having been charged as a male but was now registered under the Gender Recognition Act of 2015 as a female.”
...“The defence's case is that that person no longer exists and therefore the prosecution should not and could not proceed“