Smael Heirouche, 39, faces a charge of making threats to kill or cause serious harm and he was remanded in custody until next week.
Two French nationals, who were neighbours of Mr Heirouche, made the complaint to gardaí. They said his attitude towards them changed on November 14, when his behaviour became erratic.
“He was quoting the Koran,” Det Garda Geraldine Daly told the court. “They did not have the same belief. He did not take kindly to this. He made reference to recent terrorist attacks in France. He said it was excellent and it gave him great joy.”
As this allegation was put before Judge Leo Malone at the courthouse on Washington St, the defendant spoke up from the body of the court and said: “It did.”
Det Gda Geraldine Daly testified she arrested Mr Heirouche at the Bridewell Garda Station on November 16. She said making a threat to kill or cause serious harm it was a serious offence that carried a jail term of 10 years on conviction.
The detective said she took statements of complaint from two French nationals who were living with the accused at a rented property at James St, Cork.
She said the two French men who made complaints stated the defendant called them Zionists and allegedly said: “Zionists should have their throats cut.”
One of the complainants told gardaí Mr Heirouche rubbed his hand against the complainant’s throat, while wearing long black robes and carrying the Koran.
“He believed Mr Heirouche was going to kill him,” Det Garda Daly said.
She said the injured party recorded some of this interaction on his mobile phone.
She said Mr Heirouche claimed he was making the threat in the name of Islamic extremism.
During interview, he allegedly said that if he had a sword he would cut the heads off Jews.
When the defendant was arrested he allegedly gave a first name with a spelling which was different to that which appeared on his passport and he said he could not remember his surname.
Interviewed by gardaí he said that anything he may have said to the two French people was as a messenger of the Lord.
The defendant has had his lease terminated at the address at James St and was consequently of no fixed address.
He told gardaí he was born in Amsterdam. He had flights booked to London and Marrakech.
Emmet Boyle, solicitor, was appointed to represent the accused on free legal aid.
However, the defendant said he did not want legal representation.
Inspector Ronan Kennelly said the prosecution was opposed to bail being granted to the accused.
Judge Leo Malone remanded the accused in custody to appear again at Cork District Court on November 24.
The judge also directed the preparation of a psychiatric report on Mr Heirouche.