North Korea expects the Spanish authorities to “bring the terrorists and their wire pullers to justice in conformity with the relevant international law,” he said.

The raid at the North Korean Embassy took place five days before the start of President Trump’s summit meeting in Vietnam with North Korea’s leader, Kim Jong-un.

Ten suspects attacked embassy employees with knives, machetes, metal bars and fake pellet guns, a Spanish judge investigating the case said last week. After holding the employees hostage for several hours, the assailants fled with a cellphone, two pen drives, and two computers and two hard drives that probably contained security footage, the judge reported.

The judge identified the leader of the gang as Adrian Hong Chang, who he said was a Mexican man who lives in the United States. Mr. Hong Chang escaped to the United States and got in touch with the F.B.I., offering to share “audiovisual material” obtained during the embassy attack, the judge said.

An international arrest warrant has also been issued for an American identified as Sam Ruy.

A mysterious organization that describes itself as a dissident group dedicated to toppling Mr. Kim’s regime in Pyongyang has since claimed responsibility. The group, known as Cheollima Civil Defense, or Free Joseon, said on its website that its action at the embassy had not been “an attack,” that no one had been beaten and that no weapons had been used.