(CNN) - Mexico's government is trying to block the execution of a convicted cop killer in Texas this week, arguing that it would violate international law.
The case of Mexican citizen Edgar Tamayo Arias is the latest battle in a dispute over the rights of the foreign-born on American death rows. And U.S. Secretary of State John Kerry has said it could put Americans abroad at risk.
Tamayo, 46, was convicted in the 1994 murder of a Houston police officer, who he shot three times in the back of the head, according to the Texas Department of Criminal Justice.
Mexico's foreign ministry said Sunday that going ahead with Arias' execution, scheduled for Wednesday, would violate international law because Tamayo was condemned to death without being advised of his right to receive consular assistance.
"The Mexican government is opposed to the death penalty and has decided to use the necessary resources to protect its citizens who are in danger of receiving this sentence," the ministry said in a statement.
This isn't the first time Mexico has stepped in to try to stop the execution of one of its citizens.
Mexican officials made similar arguments -- unsuccessfully -- before executions in 2008 and 2011.
Kerry has also weighed in on Tamayo's case, arguing that setting an execution date is "extremely detrimental to the interests of the United States."
"I want to be clear: I have no reason to doubt the facts of Mr. Tamayo's conviction, and as a former prosecutor, I have no sympathy for anyone who would murder a police officer," Kerry wrote. "This is a process issue I am raising because it could impact the way American citizens are treated in other countries."
In a response to Kerry, Texas Deputy Attorney General Don Clemmer said he'd meet with representatives from the Justice Department and the State Department over the matter.
The International Court of Justice ruled in 2004 that the United States had violated the Vienna Convention, the treaty that lays out rights of people detained in other nations, in the cases of dozens of Mexican nationals. The judges ordered the United States to provide "review and reconsideration" of the sentences and convictions of those Mexican prisoners as a result.
Mexico's foreign ministry argues that hasn't happened in Tamayo's case.