Judge responds to teacher's arrest