Angelina Jolie’s spokesperson has issued a statement to ET Canada after it was reported Tuesday that after a long court battle, the actress and her ex-husband Brad Pitt had allegedly come to a temporary custody agreement involving their six children for the summer.

According to court documents obtained by People and Us Weekly, Pitt will be spending a lot more quality time with Maddox, 16, Pax, 14, Zahara, 13, Shiloh, 12, and twins Knox and Vivienne, 9.

But Jolie’s statement reads: “This misleading leak is not in the best interests of the children. From the start, Angelina has been focused on their health and needs, which is why it was so important that this last court hearing be conducted privately.”

It continues: “It’s deplorable that someone for their own selfish reasons leaked selective portions of the confidential and sealed court record to create an inaccurate and unfair picture of what is really happening.”

RELATED: Angelina Jolie Sparks Online Meltdown, Expertly Flies Plane Over Desert In ‘The Queen’s Green Planet’ Documentary

The comments come after it was reported that a judge determined that the kids “not having a relationship with their father” would be “harmful” and that they “are safe with their father” and that it is “critical that each of them have a healthy and strong relationship” with both of their parents.

The court outlined specific times slots for Pitt to have custody, starting with 10 days in London (where Jolie is currently renting a house while filming “Maleficent 2”) where he can spend time with one or two of them at a time for four hours. Then in July, he’ll get 10 hours before working up to getting the kids for four consecutive days. Finally, before summer holidays finish, the kids will spend a whole week in Los Angeles with their dad. Maddox can freely choose to go with either parent at any time since he is now 16-years-old.

RELATED: Angelina Jolie Calls Queen Elizabeth ‘A Lovely Lady’ In ‘Green Planet’ TV Special On Buckingham Palace Gardens

A child psychologist will have to join Pitt on his visits during his time in London and Jolie, 43, has been ordered to not be present during Pitt’s time with the kids.

The “Fight Club” actor can also call or text the kiddos anytime he’d like, without interference from Jolie.

The pair separated in September 2016.