A Guatemalan father detained at the border said he was separated from his 2-year-old daughter in Texas, despite President Trump's executive order and a federal injunction over family separations.

The Texas Civil Rights Project (TCRP) said Mario Perez-Domingo was arrested on or about July 5 by Customs and Border Protection near McAllen, Texas, while he tried to cross the border with his daughter.

Two days later, the 24-year-old was referred for criminal prosecution for unlawful entry and was separated from his daughter, despite having a birth certificate that showed he was her father, said Efrén Olivares, TCRP’s racial and economic justice program director.

“We were very surprised and shocked,” Olivares said. “This should not be happening.”

After weeks of outcry over family separations at the border, President Trump signed an executive order June 20 intended to keep detained parents and their children together instead of splitting them up.

Trump’s executive order said government agencies were required to “maintain custody of alien families during the pendency of any criminal improper entry or immigration proceedings involving their members” — a requirement that appears thwarted after a federal judge rejected the government’s request to change the terms of a 1997 settlement agreement that restricts how long kids can be held in immigration detention.

Still, CBP issued a policy implementing Trump’s order that said, “family unity will be maintained for families apprehended crossing the border illegally.”

Separately, an injunction issued last month by a federal judge in San Diego stopped the government from separating families at the border absent a showing that a parent is unfit or poses a threat to a child.

Olivares said the government took the position that Perez-Domingo’s daughter wasn’t his and that the documents he had weren’t authentic. TCRP confirmed the documents were real with the Guatemalan Consulate.

“As far as we know, the government did not take any of these steps to verify whether or not Mr. Perez-Domingo was telling the truth,” Olivares said. “If the government was going to take such a drastic step to go against the injunction and executive order they must have taken steps to confirm she really was not his daughter.”

However, the Department of Homeland Security (DHS) pushed back on the account and said Perez-Domingo initially told agents the child was his daughter, but later admitted she was actually his niece and that he was using a fake document from a smuggler in Guatemala. Perez-Domingo told agents he was taking his niece to her mother who lived in Georgia, said DHS, but when they contacted the purported mother she had difficulty providing basic biographical information.

“The child was separated from Mr. Perez-Domingo due to these inconsistencies in his statements as well as admitting to providing a fraudulent document,” DHS said in a statement.

A Department of Homeland Security official said it still separates children from adults when the immigration authorities are unable to determine a familial relationship, believe a child is at risk with the parent or legal guardian, or when the adult is referred for criminal prosecution.

Olivares, said his organization has no reason to doubt Perez-Domingo's claim. TCRP said they confirmed the birth certificate was authentic with the Guatemalan consulate and verified his account by speaking with his immediate family in the US and Guatemala, and spoke with him using an interpreter who speaks Mam, an indigenous language, that Perez-Domingo speaks. He understands and speaks a limited amount of Spanish.

"The federal government did not take even the most basic steps to verify Mario's parentage," Olivares said. "Those were the first fundamental steps that a small nonprofit like TCRP was able to take quickly, and which the federal government failed to take before deciding to separate a two-year-old from her father.”

Olivares said his organization encountered Perez-Domingo on July 9 at his criminal hearing in McAllen and that was when he told TCRP he had been separated from his daughter.

Perez-Domingo, who speaks Mam, an indigenous language, and knows only minimal Spanish, said he was scared and didn’t understand what the border agent was asking him.

“He kept asking us why they took his daughter because she was so little, she was crying when they took her and he asked us when he was going to see her again,” Olivares said.

Olivares said CBP told his office that they were “good to go” Thursday in terms of reunification, but more than 24 hours later they were still separated.

Perez-Domingo remains in the custody of the US Marshals Service. It was unknown if he was seeking asylum or another type of protection in the United States.

“As long as the zero tolerance policy is in place separations can happen every day and we must all keep vigilant,” Olivares said.