A radical feminist has been warned by a judge to refer to the transgender defendant as a “she” during an assault case.