This article is more than 8 years old

This article is more than 8 years old

Venezuela's supreme court has barred a rival to President Hugo Chávez from taking office – but told him that he is still eligible to stand for election.

The decision throws into doubt the presidential campaign of Leopoldo Lopez, a prominent opposition leader.

The court dismissed as "unfeasible" a decision issued last month by the inter-American court of human rights, based in Costa Rica, that demanded Venezuelan electoral officials allow Lopez to run for office.

The former Caracas district mayor was on a list of politicians blacklisted due to corruption investigations but insists he is innocent and was never sentenced in a court.

The supreme court president, Luisa Estella Morales, told reporters that Lopez "can freely sign up and participate in elections" including next year's presidential vote, but whether or not he could actually take office if elected "isn't within the judicial branch's analysis at this time".

If Lopez were elected president the supreme court would have to decide what to do at that time, Morales said.

Lopez challenged his disqualification in the regional human rights court, arguing that his political rights were violated. That court ruled in his favour on 1 September.

Venezuela's supreme court responded that the measure barring Lopez from holding public office "does not impede him from exercising his political rights" and was directed only at "temporarily impeding the exercise of public duties".

Lopez has announced plans to run in a February primary vote that will pick a unity candidate to challenge Chávez in the October 2012 election. When Lopez launched his campaign last month he challenged Chávez to accept him in the race, implying that the president wielded influence over the judiciary.

"Since 2008 he's been looking for a mechanism to remove me from the political game," Lopez said in September. "Mr President … are you afraid of me?"

Chávez strongly criticised the Costa Rica-based court, saying it was part of an international system that "protects the corrupt and obeys the mandate of the [US] imperial power".

A coalition of Venezuela's main opposition parties, known as the Democratic Unity Table, condemned the supreme court ruling, saying in a statement that it violated the constitution as well as international treaties and promising to take the matter to the Organisation of American States.