(CNN) -- The head of Slovakia's border police apologized for a security test snafu in which a police officer put a plastic explosive into the bag of an unsuspecting passenger who unwittingly carried it from Poprad, Slovakia, to Dublin, Ireland.
"The police officer made a silly and unprofessional mistake, which turned the good purpose of protecting people into a problem," said Slovakian Police Chief Tibor Mako in a written statement Wednesday.
"The head of the Border Police is going to undertake disciplinary measures against this police officer, and he will investigate possible responsibility of other people as well.
"We have apologized to the person involved and to his wife." The passenger was identified as a 49-year-old electrician traveling on a flight from Poprad, Slovakia, to his home in Dublin, Ireland.
The test had been intended to keep sniffer dogs "in shape and on alert in a real environment," he said.
In Saturday's incident, a Border Police officer placed two samples of research development explosive, or RDX, into a bag at Poprad-Tatry Airport, Mako said. "The sniffer dog found one sample, after which the police officer and the dog were called off to a different matter and the officer had forgotten to take out the second sample."
The material -- 90 grams (3 ounces) of the explosive -- went undetected in the Slovakian man's bag until the police officer responsible for the screw-up told his superiors on Monday, a spokesman for the Slovakian president said in a written statement. Slovakian authorities then alerted their Irish counterparts.
The man was contacted by police and, following their instructions, found the sample in his luggage on Monday evening and waited for Irish police to arrive to take it away.
Meanwhile, police and army bomb disposal experts closed the section of central Dublin where the man lived.
And, for "an incomprehensible reason," the Irish police took the man into custody, releasing him a few hours later after they were contacted by Slovakian authorities, Mako said.
The explosive did not pose any imminent threat, officials said.
"On their own, this type of explosive does need to be combined with other elements to make it into a bomb, but obviously this type of high-grade explosive is potentially extremely dangerous," Commandant Gavin Young, an Irish Defense Forces spokesman, said in an RTE interview.
Ireland's Justice Minister Dermot Ahern ordered an investigation on Tuesday.
Slovakian Minister for the Interior Robert Kalinak has conveyed his government's profound regret for this incident and will cooperate with the Irish investigation, according to the Irish justice department.
The incident came on the heels of the botched December 25 bombing of a Northwest Airlines flight from Amsterdam, Netherlands to Detroit, Michigan, by a passenger who had hidden explosives in his underwear.
The explosives failed to ignite fully, but the incident led to heightened security at airports around the world.
Mako said that Slovakia's minister of interior has decided to search for new ways to train sniffer dogs "so this situation will not be repeated."
Steve Lott of the International Air Transport Association told CNN airports must carry out regular security exercises to test their systems but rarely use real explosives placed in a passenger's luggage.
In the United States, Lott said, security drills are typically conducted using simulated explosives so as not to pose any risk to airport staff or passengers.
Materials are typically placed in baggage belonging to officials or agents taking part in the exercise, he said.
CNN's Bridget Fallon contributed to this report.
A failed test of security at Slovakia's Poprad airport resulted in a 49 year-old man unknowingly carrying plastic explosives from Slovakia to Dublin, Ireland. The explosives were concealed so well that the man did not find them when he unpacked his bag at his apartment.

On Saturday, Slovak authorities planted contraband in passengers' luggage at Poprad's Poprad-Tatry Airport without the knowledge of passengers.  Seven of the eight items were recovered, while an eighth made its way to an apartment in Dublin.  Slovak authorities realised on Tuesday that one package of explosives were missing and notified Irish authorities who searched the man's apartment.

During the search, parts of Dublin's inner-suburbs were sealed off and evacuated causing disruption to residents and businesses.  At the apartment authorities found the package and arrested the man under anti-terrorism laws; he was later released without charge after it was established he was innocent.

The man, a Slovakian electrician had been living in Ireland for some time. He was holidaying in Slovakia over Christmas.

Ireland's Department of Justice, Equality and Law Reform issued a statement saying, "Following contact earlier today from the Slovakian authorities with the Airport Police at Dublin Airport, members of the Garda Síochána have recovered a small quantity of explosive material from the luggage of a passenger who had flown into Dublin from that country on Saturday last."

The package contained 90 grams (3 ounces) of the plastic explosive RDX, also known as cyclonite or hexogen. According to Commandant Gavin Young, a spokesperson for the Irish Defense Forces, "On their own, this type of explosive does need to be combined with other elements to make it into a bomb, but obviously this type of high-grade explosive is potentially extremely dangerous."

Slovakia's Minister for the Interior Robert Kalinak has apologized to Irish Justice Minister Dermot Ahern over the incident and expressed his “profound regret”. Irish authorities are now investigating the incident and the government has ordered for a full report to be delivered.

The Irish Opposition has expressed concern about the incident. Labour Party spokesman Joe Costello said "This incident led to the closure of roads in the area, the evacuation of businesses and the lives and safety of residents could have been put at risk. We also need to know what protest the government is going to make about this breach of our security."