Arielle MitropoulosEAST BOSTON, Mass. —

A 30-hour travel disaster has turned into an immigration nightmare for one man, when he was detained by U.S. Customs and Border Protection on Tuesday after a routine domestic flight from San Juan, Puerto Rico to Boston turned international, and made an emergency landing in Bermuda.

Daury Baez Seri, who is a recipient of Deferred Action for Childhood Arrivals (DACA), was released from immigration custody late Wednesday evening, his attorneys told NewsCenter 5, after he was held for more than 24 hours inside Boston’s Logan International Airport.

“They basically treat him like he’s not in America. He’s not entitled to rights. He hasn’t been allowed to call an attorney, and he’s just sitting there in turmoil,” his attorney, Todd Pomerleau, said, prior to his release.

The travel confusion came after Baez Seri’s flight home to Boston from Puerto Rico had to be diverted to Bermuda on Monday due to a medical emergency onboard. Passengers were taken off board, and brought to a hotel, before they were transported back to the Bermuda airport early Tuesday.

The flight made its way back to Boston, but travelers could not deboard the plane for hours due to a customs issue.

“None of these people had passports. You don’t need a passport to fly to Puerto Rico. So the citizens on the plane were all like, what do we do?” Pomerleau said.

Passengers were forced to clear customs, but some, including Baez Seri was detained and questioned for their respective immigration statuses.

According to Pomerleau, Baez Seri grew up in Boston after he was brought to the United States at the age of six from the Dominican Republic. He is lawfully in the U.S. under DACA, Pomerleau said, and has no criminal record.

As a DACA recipient, Baez Seri would have had to apply for special permission to travel internationally. Pomerleau said he never had any intentional to travel outside the country, and was simply attending a gaming convention in Puerto Rico with friends.

“He’s following the law, the law enforcement protection, and through no fault of his own, he lands in Bermuda and he was told it would not be treated as an international flight, and here we are now,” Pomerleau said. “They’re treating him effectively like he’s self deported himself through no volitional act of his own.”

Baez Seri’s case is just the latest in a string of airport detainments in Boston. In July, a woman was detained at Logan Airport after coming to Boston to attend the Noah Kahan concert at Fenway Park. She was held in U.S. Immigration and Customs Enforcement’s (ICE) custody for more than a week, before she was ultimately released.

It is a trend his lawyers say will likely only keep going up.

“They’re using the airport as a weapon against all non-citizens, regardless of their individualized circumstances. They are clearly not going after the worst of the worst. They’re just using whatever information they have to ratchet up numbers of arrests.”

NewsCenter 5 reached out to U.S. Customs and Border Protection for comment, but did not immediately hear back.