Angelina Jolie is having Brad Pitt tested for drugs and alcohol about four times a month during the couple's ongoing stern custody battle.

This information came up after Pitt filed court documents in the Superior Court of California, County of Los Angeles to request that all records regarding custody issues be kept under seal.

Jolie,41, and her lawyer Laura Wasser, too made the decision to file an order just days prior that by doing so it would make the details of the couple's custody agreement public. Pitt and his lawyers did file the documents after Jolie.

The parts of 'October Stipulation' order were later published revealing details of their children's therapy, that a psychologist who specializes in child custody issues was determining the visitation schedule, in addition to that Pitt and Jolie were going to group therapy sessions with their children.

Jolie and her lawyer's decision to file the order also revealed details of Pitt's random drug testing.

The reason behind Jolie's filed order came up when Pitt's lawyer claimed: "Based on Ms. Wasser's email dated December 2, 2016, the unauthorized filing of the October Stipulation was caused by [Jolie's] reaction to (Pitt's attorney) having advised her counsel that (Pitt's) time with the children should be increased."

The court filing by Jolie also claimed that she previously refused to enter into a stipulation for such an order and has instead disregarded a confidential agreement that was designed to protect the minor children.

Pitt's lawyer Lance S. Spiegel later stated that Children should be protected from embarrassment. Pitt also declares that he has been unable to agree on a custody schedule and I intend to file a Request for Orders to establish a schedule unless an agreement is reached.

He further said, " I am extremely concerned that if court records regarding custody are not sealed, information contained therein will cause irreparable damage to our children's privacy rights."

Jolie's lawyer Wasser later wrote to Spiegel that they have made it clear that Brad intends to file an RFO for increased custodial time next week and that nothing therapists say during the Monday meeting wil change Brad's postion significantly.

Later that day Spiegel responded via mail pointing out that the stipulation contains confidential information regarding the children being in therapy and the names of the therapists, public disclosure of such informations is potentially damaging.

Pitt and his legal team also included  a declaration from psychologist Philip M. Stahl in their filing.

He writes that he has been an expert witness in 18 California counties and many other states before writing that he himself believes the custody records should be kept sealed for the sake of the children.

He later adds on that children are affected when exposed to their parents' conflict and adult details of the divorce. 

Pitt went for an emergency hearing in the case but his request to seal the documents was ultimately denied by the judge.

The couple are next due in January 2017.