Court hears appeal by former deputy leader