The purpose has been to harm or kill people at Israel's embassy, says prosecutor Søren Harbo in Copenhagen's district court.
He also means that the purpose was to intimidate citizens in Denmark and Israel.
You can commit violent crimes without having the intention of spreading fear among the population. If you want to affect society at large and spread fear among the population, then it's terror, he says.
Aimed at Israel's Embassy
The Swedes have previously been arrested for transporting and throwing two hand grenades near Israel's embassy north of Copenhagen.
During the part of the detention hearing that was open to the public, Harbo emphasized that the Swedes aimed at the embassy, but missed their target and hit a rooftop terrace at an address nearby.
During the part of the detention hearing that was behind closed doors, he presented evidence to support the suspicion that the actual target was Israel's embassy.
I have documented evidence for three hours, and the judge has said that there is a reasonable suspicion, but I want to comment on the evidence further.
Both the suspected Swedes say in the courtroom that they deny terrorist crimes. The 19-year-old, who is wearing a blue sweater with the text "Copenhagen Prison", looks very downcast. So does the 17-year-old.
Have Not Acted Alone
The prosecutor wanted to hold the detention hearing behind closed doors, and the court went along with his line.
This is about two young Swedes, and there is no reason to believe that this is something they have done on their own. There must be more perpetrators, he says.
A 50-year-old man is arrested for having given money to the Swedish teenagers. The money was used, among other things, to buy an electric scooter that they later used as a means of transportation to the crime scene, according to the Danish police.
No one was injured in connection with the explosion near Israel's embassy, but there were extensive material damages.
Both Swedes are detained for 20 days until November 27.