Denmark ordered Russia’s defense attaché out of the country on Friday after its intelligence service concluded that Russian spies had planned to kill a Ukrainian American rapper at a concert north of Copenhagen in September.

The rapper, who performs as Kyivstoner, was due onstage on Sept. 25. Police stopped men linked to Loyal to Familia, an outlawed Danish street gang, in a car shortly before the show, and a search turned up firearms and knives, according to PET, the Danish intelligence agency, CBS News reported. The concert was canceled.

“We have just summoned the Russian ambassador to the Ministry of Foreign Affairs and notified him of the government’s decision to expel the Russian defense attaché from Denmark” within seven days, Foreign Minister Lars Lokke Rasmussen said at a news conference, Al Jazeera reported. The ambassador is Vladimir Barbin, according to the Kyiv Post.

Mr. Rasmussen called the plot an unacceptable transgression but stopped short of a break with Moscow. “We don’t want to break off diplomatic relations with Russia in this particular situation that Denmark and Europe are in... But on the other hand, we want to send a very, very strong signal,” he said. He also said Denmark was considering suspending Schengen visas for Russians.

A suited arm reaches from an open stone doorway to hold a dark coat on a hanger, beside a Danish flag against a blue background.

Rasmus Kieffer-Kristensen, the head of PET, said at the same news conference that it was the service’s “clear assessment that the assassination attempt was planned by the Russian intelligence services.”

“A Russian assassination attempt is not something we’ve seen in Denmark before, and that gives me an impression of an increasingly aggressive and risk-taking Russia,” Mr. Kieffer-Kristensen said. “We believe that the case is important for understanding the threat that Denmark faces from Russia.”

Accounts of the arrests differ. CBS, drawing on Agence France-Presse, said three men with ties to the criminal underworld were arrested in the car. NBC News, using Reuters and Associated Press reporting, said two alleged gang members were arrested, citing the Danish broadcaster DR’s account of a court hearing, and that two more men were later drawn into the investigation without being accused of taking part in the plot. All four have been in custody since September, DR reported.

A car approaches a road barrier beneath a giant microphone illuminated against a dark blue world map.

Two people were placed under formal investigation on Friday for attempted murder and for helping a foreign intelligence service operate in Denmark. It wasn’t clear how police identified the men in the car, or how Russian intelligence came to recruit them.

Kyivstoner’s real name is Albert Vasiliev, and he holds both Ukrainian and American citizenship, the Kyiv Post reported, citing The New York Times.

Prime Minister Mette Frederiksen said in a statement that the case was “a clear illustration of the serious security situation in which Denmark and Europe find themselves.” She added, “We are facing a cornered Russia, acting more aggressively and with a greater propensity to take risks.”

The warning isn’t new for Danish officials. In September, PET said Russia was recruiting Danish citizens to help plan sabotage against Danish defense companies with ties to Ukraine, the Kyiv Post reported.

European leaders lined up behind Copenhagen. Antonio Costa, the president of the European Council, wrote on X that “these dangerous actions are unacceptable and they will not go unanswered.” Ursula von der Leyen, the president of the European Commission, posted on Saturday: “This was an attack on EU soil. And it is unacceptable.”

The Danish announcement landed on a tense day. Two Russian missiles and a suspected drone came down in Poland on Friday, and the Polish prime minister said it was probably a provocation timed to European military exercises in his country for a possible postwar mission in Ukraine.

The Russian Embassy in Copenhagen said Denmark had not shown its case. “In keeping with what has become a poor tradition, the Danish side has not bothered to present any evidence whatsoever of Russia’s involvement in this mysterious crime, nor have they submitted a request for legal assistance,” it said in an emailed statement, Reuters reported.

Maria Zakharova, a spokeswoman for the Russian Foreign Ministry, told the TASS news agency that Moscow would give “an appropriate response.” She didn’t say what it would be.