A college freshman trying to fly from Boston to Texas to surprise her family for Thanksgiving was instead deported to Honduras in violation of a court order, according to her attorney.

Any Lucia Lopez Belloza, 19, had already passed through security at Boston Logan International Airport on Nov. 20 when she was told there was an issue with her boarding pass, said attorney Todd Pomerleau. The Babson College student was then detained by immigration officials and within two days, sent to Texas and then Honduras, the country she left at age 7.

The day after Lopez Belloza was arrested, a federal judge issued an emergency order prohibiting the government from moving her out of Massachusetts or the United States for at least 72 hours. ICE did not respond to an email Friday from The Associated Press seeking comment about violating that order. Babson College also did not respond to an email seeking comment.