However , the court has ruled that the result is not final until it rules on opposition complaints that Musharraf was ineligible to contest the vote because he has retained his position as army chief .