Brazil and the Netherlands recalled their ambassadors from Indonesia and expressed fury Sunday after Jakarta defied their pleas and executed two of their citizens along with four other other drug offenders by firing squad.
The other convicts were from Vietnam, Malawi, Nigeria and Indonesia. The six were the first people executed under new President Joko Widodo.
Indonesia has tough anti-drugs laws and Widodo, who took office in October, has disappointed rights activists by voicing support for capital punishment despite his image as a reformist.
A spokesman for Brazilian President Dilma Roussef said she was "distressed and outraged" after Indonesia ignored her last-ditch pleas and put to death Marco Archer Cardoso Moreira, who was convicted of smuggling cocaine into Indonesia in 2004.
"Using the death penalty, which is increasingly rejected by the international community, seriously affects relations between our countries," the spokesman said in a statement.
The Brazilian ambassador to Jakarta was being recalled for consultations, the spokesman added.
Meanwhile Dutch Foreign Minister Bert Koenders said the Netherlands had also recalled its ambassador over the execution of Dutchman Ang Kiem Soei, and described all six deaths as "terribly sad" in a statement.
"My heart goes out to their families, for whom this marks a dramatic end to years of uncertainty," Koenders said. "The Netherlands remains opposed to the death penalty."
Dutch King Willem-Alexander and Prime Minister Mark Rutte had been in contact with the Indonesian president about the matter, he said, and the government had done "all in its power" to attempt to halt the execution.
IN LINE WITH LAWIndonesia's attorney general, H.M Prasetyo, said Sunday the death penalty was not "something pleasing or fun" but insisted the executions had been carried out in accordance with the law.
"I hope everyone can understand this," he told reporters.
"Indonesia must be saved from narcotics... this is a crime against humanity that damages the morals of the younger generation."
He also insisted the death penalty was a "positive law for Indonesia".
All the prisoners, who had been sentenced to death between 2000 and 2011, were executed around the same time shortly after midnight, the attorney general's office said.
The 53-year-old Brazilian, who was caught with drugs stashed in the frame of his paraglider at Jakarta airport, and the 62-year-old Dutchman were executed on Nusakambangan Island, home to a high-security prison, off the main island of Java.
A Nigerian, Daniel Enemuo; Namaona Denis, from Malawi; and an Indonesian woman, Rani Andriani, were executed at the same location.
The sixth convict, Vietnamese woman Tran Thi Bich Hanh, was executed in the Boyolali district in central Java.
They were all caught attempting to smuggle narcotics apart from the Dutchman, who was sentenced to death for operating a huge factory producing the drug ecstasy.
All had their appeals to the president for clemency -- their last chance to avoid the firing squad -- rejected last month.
Jakarta had an unofficial moratorium on executions for several years from 2008 but resumed capital punishment again in 2013. There were no executions last year.
Widodo, known as Jokowi, has taken a particularly hard line towards people on death row for narcotics offences, insisting they will not receive a presidential pardon since Indonesia is facing an "emergency" due to high levels of drug use.
Following Sunday's executions, the number of people on death row in Indonesia for drugs-related offences stood at 60, around half of whom are foreigners, said a spokesman for the national narcotics agency.
Widodo's tough stance has sparked concern for other foreigners sentenced to death, particularly two Australians who were part of the "Bali Nine" group caught trying to smuggle heroin out of Indonesia in 2005.
One of the pair, Myuran Sukumaran, also had his clemency appeal rejected last month but authorities say he will be executed with fellow Australian Andrew Chan as they committed their crime together.
Chan is still awaiting the outcome of his clemency appeal.
Also on death row is British grandmother Lindsay Sandiford. She was sentenced to death in 2013 after being caught trying to smuggle cocaine into Bali.