Under the temporary agreement, Jolie, 41, maintains physical custody of the estranged couple’s brood, while Pitt, 52, has “agreed upon therapeutic visitation.” The “Allied” star also must take random drug and alcohol tests at least four times a month.

It’s unclear why Jolie would move to make the records public. Sources have said it could be to “send a message” to Pitt, while others told Page Six it could be a tactic anticipating Pitt’s wanting to dispute or change the current temporary arrangement.

A source familiar with the case told Page Six of the judge’s decision on Wednesday, “The judge only denied the request for an emergency hearing and not the actual motion requesting that the case be sealed.” The source said that hearing will be Jan. 17.

The source said “resolving this privately is in the best interests of the entire family, including both parents, so it is surprising that one side would keep pushing to publicize matters involving the children.”

The unsealing of the documents is the latest public twist in the stars’ increasingly contentious divorce. In November, Jolie’s reps declared there was a settlement in the custody case days after Pitt filed papers for joint custody. The settlement claim was then shot down by Pitt’s team.

Jolie filed for divorce in September after two years of marriage to Pitt and over a decade together. After an alleged incident between Pitt and their son Maddox, 15, during a flight on a private jet, the Los Angeles County Department of Children and Family Services and the FBI both investigated and cleared Pitt of any abuse claims.