SAN JOSE (Reuters) - Costa Rica’s first same-sex wedding has been blocked by notaries who are refusing to recognize it until laws forbidding gay marriage are changed, setting them at odds with the president.

Slideshow ( 7 images )

The marriage between two men was set for this Saturday after a top Latin American human rights court earlier this month ruled that countries in the region should legalize same-sex unions, pushing back against opposition from the Roman Catholic church.

The Inter-American Court, based in Costa Rica’s capital San Jose, recommended that those rights be upheld via temporary decrees while governments pursue permanent laws.

Costa Rican President Luis Guillermo Solis then directed government agencies to apply the ruling until lawmakers or the constitutional court formally adopt new laws.

However, the notary council of the Central American country said on Friday it would only authorize such unions if the local legislature or the court annul laws outlawing gay marriage.

“The rules that regulate marriage in Costa Rica ... remain in force,” the council said, telling notaries to abide by them.

The court’s decision has triggered debate ahead of Costa Rica’s presidential election on Feb. 4, with some candidates vowing to fight it.

Solis is barred by law from seeking a second consecutive term.

Several Latin American countries, including predominantly Roman Catholic Costa Rica, still do not allow same-sex marriage.

However, that is changing, and in recent years same-sex couples have been allowed to marry in Argentina, Brazil, Colombia, Uruguay and some parts of Mexico.

“There’s nothing stopping the road to equality, but the truth is we don’t know how long it will take to get there,” said Larissa Arroyo, an attorney representing the couple in Costa Rica who planned to marry on Saturday.

The country’s Justice Minister Marco Feoli said in a statement that the notary council’s stance went against both the executive branch and the Inter-American Court.