A federal judge will consider Friday how closely to monitor the Trump administration as it faces a new deadline on reunifying families separated at the border.

The American Civil Liberties Union says the administration failed to meet a Tuesday deadline to reunify dozens of children under 5 years old. It argues that because of that, it should be closely watched as a July 26 deadline approaches to have more than 2,000 children 5 and older rejoin their parents.

The administration insists it complied with the judge's order, saying it reunified all 58 children under 5 who were eligible. It acknowledges that 20 of the 58 were reunified within two days after the deadline "for logistical reasons specific to each case."

The government missed a federal judge's initial deadline of Tuesday to have all children under 5 reunited with parents.

The administration has until July 26 to reunite about 2,000 older children.

The American Civil Liberties Union sued on behalf of a woman who was separated from her child. It said it was reviewing the government statement and would comment later.

HHS Secretary Alex Azar, DHS Secretary Kirstjen Nielsen, and Attorney General Jeff Sessions issued the following joint statement regarding reunification efforts for eligible children under 5 years old:

“Dedicated teams at the Departments of Health and Human Services, Homeland Security, and Justice have worked tirelessly to ensure the safety of Ms. L class members. As of this morning, the initial reunifications were completed. Throughout the reunification process, our goal has been the well-being of the children and returning them to a safe environment. Our agencies’ careful vetting procedures helped prevent the reunification of children with an alleged murderer, an adult convicted of child cruelty, and adults determined not to be the parent of the child. Of course, there remains a tremendous amount of hard work and similar obstacles facing our teams in reuniting the remaining families. The Trump administration does not approach this mission lightly, and we intend to continue our good faith efforts to reunify families.

“Certain facts remain: The American people gave this administration a mandate to end the lawlessness at the border, and President Trump is keeping his promise to do exactly that. Our message has been clear all along: Do not risk your own life or the life of your child by attempting to enter the United States illegally. Apply lawfully and wait your turn.

“The American immigration system is the most generous in the world, but we are a nation of laws and we intend to continue enforcing those laws. Establishing the immigration system demanded of our political leaders by the American people for more than 30 years—one that serves the national interest—will allow our nation to further realize the foundation of freedom, safety, and prosperity we inherited from our Founders.”

(The Associated Press contributed to this report.)