Top court ruling is victory for use of provincial race demographics