But Tamimi's lawyer, Gaby Lasky, criticized the decision saying, "It's unusual that the court decided - after sending Ahed into detention until the end of her trial and after her name had already been publicized - that it is in her interests to conduct the trial far off from public view".
The next session in the case was set for March 11. However, video footage of the altercation shows that the then 16-year-old was simply yelling at, hitting and later slapping two Israeli soldiers away from the area after one of them had shoved her.
The judge closed the courtroom, citing the defendant's status as a minor, ordering out journalists and diplomats who had been present to observe the proceedings.
"Stay strong! Stay strong!" shouted her father, Bassem Tamimi.
"The Convention on the Rights of the Child, which Israel has ratified, clearly states that children are to be deprived of their liberty only as a last resort, and only for the shortest appropriate period of time", Michael Lynk, the United Nations special rapporteur on the situation of human rights in the Palestinian Territory occupied since 1967, said Tuesday after Ahed's first hearing in which the court made a decision to ban media from the trial.
The minor, who slapped an Israeli soldier in the courtyard of his house in the town of Nabi Saleh, in the occupied West Bank, faces 12 charges, including 'assaults on soldiers.' If found guilty, Tamimi can be sentenced to up to 10 years in prison. At a 17th birthday party held for Ahed while she was in prison, only a smattering of global activists were present as candles spelling out her name were lit in tear gas casings. Repeated rounds of US -led Israeli-Palestinian negotiations on a partition deal have failed, and gaps have only widened between the sides.
"The military courts themselves are one of the most injurious mechanisms of the occupation and are not created to seek justice or truth, but to maintain the occupation", Amit Gilutz, spokesperson for Israeli rights group B'Tselem, told Al-Jazeera Tuesday after Ahed's secret trial.
He says her lawyer responded by saying that the court was illegitimate, part of a racist system and had nothing to do with justice. Several human rights organizations have slammed Israeli over her arrest and pre-trial detention including the United Nations.
Israel has treated her actions as a criminal offense, indicting her on charges of assault and incitement that could potentially lead to years in prison. She was arrested at her home December 19 in the middle of the night and has been in detention ever since.
Israelis accuse her family of using her as a pawn in staged provocations.
Ahed Tamimi is the more aggressive of the two in the video.
Senior Israeli government officials called for a harsh punishment.
The scuffle took place amid clashes and protests against US President Donald Trump's controversial recognition of Jerusalem as Israel's capital.
"The Convention on the Rights of the Child, which Israel has ratified, clearly states that children are to be deprived of their liberty only as a last resort, and only for the shortest appropriate period of time", said Michael Lynk, the special rapporteur on the situation of human rights in the Palestinian Territory occupied since 1967.
Mohammed Tamimi, a cousin of Ahed, was seriously wounded by a rubber bullet fired at his head during those protests. The incident left him in a coma, his family said, and he had part of his skull removed. "They can see in the video a child pushing heavily armed soldiers away from her house", she said.