Accepting population as the basis for reservation would be ‘destructive of the principle of equality’, the court says