A Syrian refugee has been convicted by a German court of collecting components to make bombs with the intent of carrying out attacks in Denmark.
The dpa news agency reported the 21-year-old, whose name was not released, was convicted in Ravensburg state court of preparing an act of violence and sentenced to six and a half years in prison.
The man was arrested in November with 17,000 matches, a package of fireworks, 17 batteries, six walkie-talkies and two kitchen knives and was trying to make his way into Denmark.
It said he planned an attack involving many bombs in Copenhagen that he hoped would cause multiple casualties.
Police stopped the truck that was driven by a Turkish citizen early Wednesday at the Romanian-Hungarian border and discovered the migrants in the back.
A police statement said they found nine men and seven women, most of them asylum-seekers in Romania.
They told police they wanted to cross the border illegally to reach a country in the visa-free Schengen travel zone.
Hungary is a member of that zone but Romania is not.
The truck documents said the metal dishes were to be delivered to a company in Sweden. The driver told police he did not know about the hidden migrants.