A magistrate is set to sentence a Supreme Court judge who was found guilty of assaulting and emotionally abusing a woman.