Halle Berry’s ex Olivier Martinez has scored a major victory in the courtroom amid their bitter custody battle. TMZ reports Martinez was awarded primary physical custody of their 13-year-old son Maceo – and that the judge has also ruled Berry can no longer have overnight visits with her child. A rep for the actress told the site Berry still retains joint legal custody and also holds the tiebreaker should she and Martinez struggle to reach an agreement. Page Six also reports that the judge shut down a request for a domestic violence restraining order filed by Martinez which would have protected him and Maceo from the actress.’We are extremely pleased that the Court has dissolved the TRO,’ Marina Beck, Berry’s attorney, told Page Six. ‘As we move forward, Halle is determined to continue to focus on the well-being and best interests of her family.’A source called the latest move ‘a hug win’ for Berry. Earlier this month, Martinez, 60, obtained a temporary domestic violence restraining order against Berry after accusing her in a court filing of ‘physically abusing’ their 13-year-old son Maceo ‘by jumping on him and choking him’ in a September 26 incident. Berry has denied all of the allegations. Halle Berry’s ex Olivier Martinez has now won primary physical custody of their son Maceo amid their bitter custody battle, with the actress losing overnight visits with her child; Berry was seen arriving to court with her fiancee Van Hunt on Wednesday A rep for the actress told the site Berry still retains joint legal custody and also holds the tiebreaker should she and Martinez struggle to reach an agreementThe latest development comes two days after attorneys for her Berry and Martinez reportedly sparred in court in their ongoing custody battle over their son Maceo.During the hearing in Los Angeles Superior Court, Martinez’s attorney, Patrick Baghdaserians, asked Judge Shelley Kaufman to reopen evidence so that he could question Berry, 60, over an Instagram post she shared on Monday, according to a reporter in court for Page Six.Baghdaserians reportedly accused Berry of having violated the terms of a temporary domestic violence restraining order.According to the publication, Berry’s attorney, Marina Beck, called Martinez’s attorney’s attempt to question Berry a ‘last-minute grasp at straws’ and said it was ‘nothing more than a witch hunt.’Martinez’s attorney took issue with a repost shared to Berry’s Instagram Stories on Monday, which has since disappeared.Berry’s repost featured a quotation attributed to the relationship coach Kai Vinci, in which he said: ‘If kids disrespect their mom, the root cause often traces back to their relationship with the father.. [100 emoji].’In response to Martinez’s attorney’s attempt to reopen questioning, Berry’s attorney reportedly said that Martinez’s legal team ‘just intended to re-open evidence and continue their false narrative.’Beck also claimed that Baghdaserians intentionally made the request in open court so that it would be observed by reporters.According to Page Six, Martinez’s attorney denied Beck’s claim and said the request didn’t hang on the presence of reporters in court.Baghdaserians said that Berry’s post had shown up on her Instagram Stories shortly after evidence had closed.’This sort of conduct is the reason we are here today,’ he said, accusing Berry’s post of ‘disturbing my client’s peace’ and ‘calm.’Judge Kaufman ultimately denied the request to reopen evidence.According to Page Six, the courtroom was cleared after the back-and-forth as Berry and Martinez’s attorneys delivered their closing arguments.Martinez previously faced questions from attorneys on both sides on Friday, October 23, according to a minute order reviewed by The Daily Mail.Berry’s fiancé, 56-year-old Van Hunt, also testified under questioning from Berry’s legal team, according to court documents. The musician had been on the premises during the incident involving Berry and her son.Following Hunt’s testimony, Martinez’s legal team proposed to recall Maceo ‘as a rebuttal witness and to present his testimony remotely,’ the minute order stated.Martinez withdrew the request after the court found that if Maceo was to testify again, it would have to be in person, according to the court documents.Hunt had been seen departing the court around 4pm on Friday, Page Six reported, noting that he seemed ‘relieved’ as he finished testifying and was ‘seen laughing’ with one of Berry’s lawyers. TMZ reports Martinez was awarded primary physical custody of their 13-year-old sonBerry had been seen rubbing Hunt’s arm as they departed the court, the outlet reported.Martinez and his legal team had been seen leaving the courtroom at around 4.30pm, according to the outlet.Berry’s daughter Nahla Aubry, 18, had been slated to testify via stream during Monday’s hearing, the publication reported.In a legal filing made in Los Angeles Superior Court earlier this month that was reviewed by The Daily Mail, Berry claimed that Martinez has repeatedly inserted himself into ongoing issues regarding Maceo’s schooling and therapy, obstructing progress in all areas.She told the court that Martinez has inappropriately gotten Maceo involved in the ongoing custody battle and undermined her efforts with the teen, per the filing.Berry said that the court should award her ‘sole legal custody over matters relating to Maceo’s education, healthcare, and mental-health treatment,’ and ‘extend [her] tie-breaking authority indefinitely.’The aforementioned requests would be ‘so that necessary interventions can be implemented without continued delay, conflict, and harm to the child,’ Berry said in the court filing.Attorneys for Berry said in the filing that the ongoing ‘case has been and continues to be about Olivier’s efforts to use manipulation, alienation, and litigation to obstruct necessary interventions for Maceo and to circumvent orders.’Berry’s legal team said in the filing that it was not merely Berry’s ‘characterization of events,’ as Martinez’s ‘custom and practice is confirmed by numerous judicial findings, court orders, and sanctions.’