Unfortunately the judge needed to be disciplined - Federal policy is to grant waivers to witnesses of felonies and she was reporting a felony so the judge should have at least checked out the circumstances - if he wants to enforce Federal law from a county bench he at least needs to know how its done.
She was asking for a restraining order based on verbal abuse, not appearing as a witness in a criminal case. I don't think that qualifies for a waiver.