Ashursts wins legal challenge race