An Indonesian court has dismissed a legal challenge by a 42-year-old Nigerian, Raheem Agbaje-Salami, who is on death row for drug peddling.
President Joko Widodo had rejected clemency representations from Nigerian authorities.
Judge Hendro Puspito of the Administrative Court in East Jakarta said on Monday that the court had no jurisdiction over presidential decisions.
Agbaje-Salami, alias Jamiu Owolabi Abashin was arrested in 1998 for smuggling 5.3kg of heroin into Surabaya, the capital of East Java Province.
He was taken on Wednesday from a prison in East Java to a prison island off the southern coast of Java where he is due to be executed later in the month with nine others.
Salami with nine other drug traffickers from Australia, France, Brazil, Ghana and Indonesia, is expected to be executed soon in Nusakambangan island of Central Java.
Widodo remained tough on the death penalty amid intensive efforts for clemency from Australia, France and Brazil.
Two other Nigerian drug traffickers are also scheduled to be executed within the month after requests for presidential clemency were rejected.
Meanwhile, the Nigerian government on Monday, again summoned the Indonesian Ambassador, Harry Purwato, over the country's planned execution of more Nigerians by firing squad for drug-related offences.
Danjuma Sheni, the Permanent Secretary in the Ministry of Foreign Affairs, said at a meeting with the envoy in Abuja that the death sentences should be converted to life imprisonment.
He told the envoy to speak with his home government to tamper justice with mercy in order not to allow anything to jeopardise the "very robust and excellent relationship" between Indonesia and Nigeria.
"We, in this context, are very aware of the consequences of drug trafficking in your country, but we still want to put it on record and we still want to appeal to you and to your President to tamper justice with mercy.
"We understand that the three condemned Nigerians have gone through the judicial processes and their appeals to the President have been turned down.
"We also understand, particularly, that one of them, Mr. Salami, had been moved to an Island and that any moment from now, he may be executed.
"We want to appeal to you and through you to your government that this death sentence that may be carried out on Mr Salami any moment from now should be converted to life imprisonment."
The permanent secretary also appealed to the Indonesian envoy to fast-track the completion of the ongoing exchange of prisoners' negotiation between the two countries.
According to him, when completed, Nigerians serving various prison terms in Indonesia will have the opportunity to serve their sentences in Nigeria.
Responding, Purwato acknowledged the robust nature of the relationship between his country and Nigeria, and explained that the trial of the Nigerians was done transparently.
He said foreigners travelling to Indonesia were usually informed in advance that trafficking in narcotics attracted the death penalty.
The envoy said that all the legal processes available to the convicts had been exhausted, adding, however, that he would deliver the Federal Government's message to his home government.
He said: "Indonesians attach great importance to their relations with Nigerians and we also like to further our excellent relations in things that can be felt directly by the people of these two countries.
"As you rightly said, permanent secretary, the death penalty in Indonesia is actually done in transparent, credible and accountable manner.
"We do apply these executions to those who are adults and we do not apply to children, pregnant women or mentally ill persons.
"Executions are done after strict and transparent due process of law by which also we know that it would have already passed the district, appellate and Supreme Courts. "
Purwato explained that the request for clemency by the Nigerians on death row had been rejected.
According to him, the Indonesian government usually allows the embassies of nationals on trial for drug-related offenses to be involved from the beginning to the end of all cases.
The Nigerian Government had in January, summoned the ambassador following the execution of two Nigerians by firing squad for drug offences.