Transgender issues heat up in court