Man in torture case appears in court