A woman who openly pledged allegiance to ISIS refused to leave her prison cell Tuesday to attend court.

Rehab Dughmosh — who faces 21 charges, including terror-related offences — allegedly entered a Scarborough Canadian Tire store on June 3 and swung a golf club at staff.

“I’m here for Syria. I’m going to kill everybody,” she allegedly shouted.

Dughmosh, 32, has told court in the past she only believes in Sharia law and not the Canadian justice system. She also refused to show up for court last month.

On Tuesday, she would not leave her cell to attend court at 1911 Eglinton Ave. E., and court guards can’t use force to remove a prisoner from her confines without an order issued by a judge, said federal Crown attorney Bradley Reitz.

“When someone refuses to leave a cell and there is a threat of violence, we don’t as a matter of course use force to remove the person,” Reitz said.

“If court makes an order to bring an inmate to court, staff at the institution will comply and use force.”

No such court order was made, but in an attempt to have Dughmosh make an appearance, a special video remand was scheduled on Thursday morning from the Vanier Centre for Women in Milton where she is being held.

“It’s a concern that physical force has to be used, but if she continues to refuse, something will have to be done,” said lawyer Ingrid Grant, who was appointed a friend of the court on Dughmosh’s behalf since the accused woman has shunned defence counsel.

Grant added Dughmosh also needs an assessment to determine her fitness for trial.

“Her mental health needs to be addressed,” Grant said.

During a previous court appearance, Dughmosh told court that she “meant to harm those people” during the Canadian Tire store attack.

She also said she would do it “again and again.”