Former Auburn deputy mayor Salim Mehajer has promised not to use social media site Instagram as part of a bid for bail after he was charged with dangerous driving and breaching an apprehended violence order by "stalking" his estranged wife.
The colourful property developer, who is prolific on social media, is facing a growing number of court battles including an electoral fraud trial.
His arrest shortly after 1am on Monday comes less than a fortnight after NSW Police raided his palatial Lidcombe home as part of an investigation into a car crash he allegedly had on the way to an assault trial in Sydney's Downing Centre Local Court.
On Monday, Mr Mehajer's barrister George Thomas told Burwood Local Court his client would be applying for bail in relation to the most recent charges.
The 31-year-old appeared in court in a hooded jumper in a caged and glassed-in holding cell.
As part of the bid for bail, Mr Mehajer agreed to report to police twice a week, submit to a midnight to 5am curfew, and pay a $5000 surety.
He also agreed "not to use Instagram", to use only one mobile phone, and not to contact or interfere with prosecution witnesses.
But the prosecution opposed bail and the application will be resolved later on Monday.
The court heard Mr Mehajer was "alleged to have committed an offence of domestic nature involving an ex partner" and they were "non-violent offences that are alleged".
Police opposed bail because of the risk Mr Mehajer might commit another "serious offence" or have access to evidence, namely footage from a camera lodged on the dashboard of his car.
Mr Thomas said Mr Mehajer had offered to provide police with this footage.
Mr Mehajer was arrested and taken to Campsie police station after police attended the scene of a vehicle collision on Moorefields Road in Kingsgrove at about 1am. No one was injured in the crash.
Police had previously applied for an AVO against Mr Mehajer on behalf of his estranged wife, Aysha Learmonth.
Late on Sunday Mr Mehajer posted a photo of him and Ms Learmonth on Instagram with the caption "he [sic] is a photo that I hope to make you smile".
The post, which has since been deleted, also claimed his Instagram account had been hacked recently and referred to another recently-deleted post advertising for a personal assistant.
Mr Mehajer's barrister said the media "seem to have a great interest in his life" and the former councillor's claim he had been hacked might "get a different reception" if he had been federal Liberal minister Christopher Pyne, who said recently his Twitter account had been hacked.
Mr Thomas said he had "serious concerns about strength of prosecution case", including allegations the 31-year-old had stalked his estranged wife.
"The stalking is the allegation that involves him travelling [in a four-wheel drive] into this laneway behind the place where his ex partner was living," he said.
Mr Thomas said there were "stark and significant" inconsistencies between the evidence of the proposed witnesses for the prosecution.
He also asked "why on earth" the police would not take a witness statement from a passenger in Mr Mehajer's car at the time of the alleged incident.
Mr Mehajer's arrest capped off a turbulent weekend for the Mehajer family, after preparations for the marriage of his sister to the nephew of nightclub boss John Ibrahim were interrupted by the shooting of Mr Ibrahim's bodyguard.
Members of the Ibrahim family were setting up for the wedding of Aisha Mehajer and Sam Sayour in a western Sydney backyard on Friday night when Semi "Tongan Sam" Ngata was shot.
He was taken to Westmead Hospital, where he was in a serious but stable condition on Saturday, as preparations for the nuptials continued.
The private wedding went ahead on Saturday night, in a marquee in the Merrylands backyard of Mr Ibrahim's mother.
Salim Mehajer and John Ibrahim are not believed to have attended.
with Miriam Webber