An Islamic extremist living in Sydney could soon be charged with contempt following his repeated refusal to face a judge on the basis of his religious beliefs.

Milad bin Ahmad-Shah al-Ahmadzai claims he does not recognise any authority other than Islam and has so far refused to attend court to face charges for attempted murder and car theft.

The NSW Attorney-General Gabrielle Upton has lost patience with the 25-year-old’s continued defiance and is pushing for him to be charged with contempt of court after he failed to appear for his trial at Parramatta District Court yesterday, the Daily Telegraph reports.

Ms Upton wrote to Solicitor-General Michael Sexton yesterday, who has the authority to prosecute Mr al-Ahmadzai, demanding he consider charging him with contempt.

“I have also sought advice from the Department of Justice for possible changes to the law so accused persons show respect for judicial officials and our system of justice,” she wrote.

Mr al-Ahmadzai has pleaded not-guilty to six charges, included an attempted murder charge for allegedly shooting at a person outside a gay club in 2013.

He reportedly first began refusing to acknowledge the Australian legal system in 2014.

Liberal MP for Hughes, Craig Kelly, said Mr al-Ahmadzai should “rot in jail” until he is ready to stand in court.