Santiago Perez is facing a lengthy ban from racing after a Spanish court rules against his attempt tPICTURE BY TDWSPORT.COM The Spanish courts have rejected an attempt made by former Phonak rider Santiago Perez to prevent a ban from competition being imposed on him following his positive test for blood doping last October. The Spaniard, who won three stages and finished second in the Vuelta in September, has been trying to have any potential sentence delayed because of an alleged abuse of his fundamental rights. Perez had complained that neither he nor a member of his legal team had been present when the counter-analysis of a test initially undertaken in Lausanne on October 5 was carried out on October 26 and 27. Perez and his legal team are still investigating the blood doping test with the aim of demonstrating that it is fundamentally flawed. This ruling by the Spanish courts means that the 27-year-old rider can now be suspended by the Spanish federation for the blood doping offence. Perez faces a ban of up to two years, with a decision on this likely to be taken in the next fortnight. A ban would certainly end any interest in the rider from the Relax-Fuenlabrada continental team, who had been talking to Perez about a potential one-year deal.