ANC councillor wins high court bid to prevent his dismissal