Get ready for some legit 007 realness.

A German spy was just busted for allegedly trying to help Islamic militants plan a terrorist attack on the country’s intelligence agency. But not just that, the guy used to be a gay adult film actor who secretly converted to Islam about two years ago. And not just that, but he’s also married to a woman and has four kids.

Related: High-Ranking British Spy Outed By Wife For Having Sexual Affairs With Men

The Washington Post was the first to break the news about the secret life of this 51-year-old gay-for-pay-turned-spy-turned-terrorist. According to the Post, the man, whose name has not been released, was first spotted by German intelligence officials in a chat room for extremists about two weeks ago.

Apparently he’s not a great spy because he volunteered a lot of identifying information about himself, including that he was a German spy of Spanish descent. It didn’t take long for agents to figure out who he was and arrest him a day later on suspicion of preparing to commit a violent act and for violating secrecy laws.

Now, about his past life as a gay adult film star… Apparently the dude performed in man-on-man skin flicks up until 2011, and he used the same stage name in his films as he did in the extremist chat room.

Related: Wife Enacts Ultimate Act Of Revenge On Husband Who Slept With The Male Gardener

The Federal Office for the Protection of the Constitution, Germany’s domestic spy agency, is now facing a lot of criticism for letting this guy slip through the cracks, but officials there say they had no way of knowing.

“How should anyone have known this?” an anonymous senior official told the Post. “He had acted under different names and identities online. Not his real name. One has to say that we were able to find out about all this very quickly and also actions were taken fast.”

The official added that the man was thoroughly vetted prior to be hired last April. Still, many are now calling on the agency to conduct a comprehensive review of its vetting procedures.

The agency assures that, while the situation is definitely alarming and, yes, a little bit weird, it does not believe a serious threat was ever actually posed.

“There is no evidence to date that there is a concrete danger to the security of the BfV or its employees,” a spokesman said. “The man is accused of making Islamist statements on the internet using a false name and of revealing internal agency material in internet chat rooms.”

Related: This Sex Toy Manufacturer Is Being Sued For Spying