Austrian authorities had temporarily detained him earlier this year when he attempted to retrieve a loaded gun he had hidden in a restroom at Vienna airport in January.
The suspect, who held the rank of a lieutenant, was stationed in France, but he was arrested while undergoing training in southern Germany. He now faces charges of plotting a terrorist attack, fraud and violation of gun laws.
A 24-year-old student suspected of being an accomplice was also detained following several raids in Germany, France and Austria. Police found a variety of weapons and explosives at the 24-year-old's house.
Germany used to be the promised land for migrants. Now, it’s turning back more of them.
Nadja Niesen, spokeswoman of the Frankfurt prosecutor's office, told reporters that the 28-year-old army officer was of German origin and did not appear to have any Arabic language skills. “Why this went unnoticed, I'm unable to say,” Niesen said, calling the case “curious.”
It was also unclear how much time the man actually spent in the refugee home. “Just because he was stationed in France, it does not mean that he was there every day. He could move freely in his spare time,” a spokeswoman of Germany's Federal Criminal Police Office told the DPA news service.
A defense ministry spokesman told The Washington Post that he was aware of the incident, but declined to comment further, citing the prosecutor's ongoing investigation.
According to Niesen, the two men exchanged phone messages revealing “a xenophobic attitude.” This, in combination with the main suspect's assumed identity as a refugee and the discovery of the weapons, led investigators to the assumption that the two men might have plotted an attack to fuel public resentment against asylum seekers. Authorities were not aware, however, of any concrete targets at this point, the spokeswoman added.
The bizarre incident comes amid increasing concerns about potential security risks posed by the hundreds of thousands of migrants who arrived in Germany since 2015, following a string of terrorist attacks. In December last year, for example, a Tunisian man, whose asylum request had been rejected, plowed a truck into a Berlin Christmas market, leaving 12 people dead.
Refugees in Germany fear backlash after Berlin truck attack
On Thursday, the German Parliament debated several new legislative measures designed to counter the threat posed by international terrorists, including the possibility of keeping extremists in check after their release from prison by fitting them with electronic ankle bracelets.
The arrest also sheds a spotlight on the chaotic situation in autumn 2015, when German Chancellor Angela Merkel temporarily opened the door for refugees, which, critics say, in many cases led to insufficient vetting of the new arrivals.
Correction: An earlier version of this post had the incorrect German army rank for the suspect.