Female transgender turns heads in court in revealing dress