A 10-year-old girl with cerebral palsy is facing deportation Thursday, after being detained by ICE officials upon her discharge from a local hospital where she underwent emergency gall bladder surgery.

Rosamaria Hernandez, who is undocumented but has lived in the US since she was three months old, and her cousin were confronted around 2 a.m. Tuesday by Immigration and Customs Enforcement officers.

Hernandez and her cousin, who is a US citizen, were in an ambulance and being transferred between two hospitals so the little girl could undergo emergency gall bladder surgery at Driscoll Children’s Hospital in Corpus Christi, the Caller-Times reported.

The ambulance was escorted by ICE agents to the hospital from an immigration checkpoint in Freer. Border Patrol agents waited outside the girl’s hospital room until she was released from the facility.

“Their orders are to process her,” said Leticia Gonzalez, who works with the girl’s immigration lawyer Alex Galvez. “At this point, our argument to [immigration officials] is there is a doctor’s directive, why aren’t you following it?”

A Customs and Border Protection spokesman said Hernandez was no exception to the agency’s responsibility to follow immigration law.

“Per the immigration laws of the United States, once medically cleared she will be processed accordingly,” Rod Kise said in a statement. “The Mexican Consulate has been advised of the situation by Laredo Sector Border Patrol.”

For more on this story, click the "read more" button below.