A gay couple from Mexico has been stopped from getting married four times.

Victor Fernando Urias Amparo and Victor Manuel Aguirre Espinoza have not been allowed to marry because of Mexicali's mayor, Jaime Rafael Diaz Ochoa, and other officials. The couple's lawyer, Jose Luis Marquez Saavedra, filed a complaint after officials chose not to honor Mexico's Supreme Court ruling, according to The New York Times.

Though the complaint says Ochoa has thwarted the couple's marriage plans on technicalities, the mayor said he is just following the rules. In Mexicali, gay marriage is illegal, but the Mexican Supreme Court has ruled that banning same-sex marriage goes against citizens's civil rights. Each of the 31 states and Mexico City has its own national civil code.

Espinoza and Amparo were set to marry in early January and were denied just before their wedding, according to La Mañana.

Saavedra was notified by the registrar that Angelica Gonzalez Sanchez, the woman in charge of meeting with couples before they are able to marry, said the couple did not complete the required course. But even if the couple attended classes, they were told they would not receive their certificate.

The complaint states the marriage was being stopped because "the applicants suffer from INSANITY," La Mañana adds.

"They do it willfully with intent to spoil the plan," Amparo said. "This is the second time that they notify us within hours, it's not even days, that there is a problem."

The couple has been trying to get married since 2013.

Their third attempt at a wedding was on Nov. 21, 2014. They were told that the signatures of their witnesses were mismatched, and they were told to leave because of an alleged false bomb threat.

This last time they were told all their papers were in order, but there was a new requirement. The couple needed to show medical proof they were free of HIV, sexual transmitted diseases and tuberculosis, which is not a requirement for opposite-sex couples.

"We're very clear that the city – with this new boycott – wants the guys to desist," the couple's lawyer said. "They want them to get married but somewhere else, not here. And that's not going to happen. They are going to get married, and it will be here."