A registered child sex offender who identifies as transgender will appear in court for a hearing on alleged indecent exposure in female locker rooms.