“I believe the child’s constitutional rights are being violated,” said Andrew Lattarulo, a Massachusetts attorney representing the youth. “He should have remained in Massachusetts, where he could address any and all allegations within the jurisdiction of his home state, not in a facility hundreds of miles away.”In an interview Monday, Lattarulo said that regardless of the accusations against the teen, he should not have been transferred out of state. Lattarulo filed a habeas corpus petition Friday to ensure the youth’s case is heard in Massachusetts. The government has until Tuesday to explain the teen’s arrest, US District Judge Richard G. Stearns ruled. Otherwise, the teen must receive a bond hearing no later than Friday.The 13-year-old is a 7th-grader at Everett’s Albert N. Parlin School, his mother, Josiele Berto, told The Boston Globe in an interview Sunday. The boy and his family are awaiting an asylum hearing and have permission to work in the United States.The teen is the latest Massachusetts juvenile detained by ICE since the Trump administration began an immigration enforcement surge last month called “Operation Patriot 2.0.”Everett police detained the 13-year-old on Thursday, officials said. An officer at the Everett Police Department said Monday a teenager was detained by a school resource officer Thursday on a felony offense. The officer said privacy restrictions prevented him from confirming that youth was the 13-year-old now in ICE custody, but the officer, who declined to identify himself, added that the teenager facing the felony offense was the only juvenile detained in Everett that day. School district officials did not respond to calls for comment Monday. Mayor Carlo DeMaria, a member of the school committee, issued a statement Monday about the recent “arrest of a juvenile male in Everett,” but did not mention ICE.DeMaria said Everett police “take any reported threats to the safety of our schools and our streets seriously . . . At the same time, the EPD ensures that the rights of all individuals are respected, as they have in this developing case.”The social media post from McLaughlin stated: “Here are the facts: he posed a public safety threat with an extensive rap sheet including violent assault with a dangerous weapon, battery, breaking and entering, and destruction of property. He was in possession of a firearm and 5-7 inch knife when arrested.”The post didn’t say, and DHS officials declined to clarify, what specifically led to the teen’s arrest or what charges have been filed against him. Juvenile court records are not public, and it was not clear if the youth had been convicted of any of the offenses McLaughlin detailed. Berto’s understanding of English is limited, Lattarulo said Monday, and she did not know if charges had been filed against her son. He declined to comment on whether the 13-year-old had prior arrests, saying he was still working to obtain the youth’s record. He assumed there was a legitimate reason the youth had an encounter with police and was not surprised that there appeared to be criminal accusations against him. “There’s a reason the police detain you,” Lattarulo said. But, he added, “We’re dealing with a child, a child who obviously needs help, not someone you should take and treat like a criminal and then ghost him overnight.”He also noted that details about a juvenile’s arrest record are not supposed to be made public. Berto told the Globe Sunday that she went to the Everett Police Department Thursday after receiving a call to come pick up her son, but while waiting, saw people who looked like ICE agents enter the building. She was later told her son was taken by ICE. It remains unclear how ICE took custody of the boy, and Everett police have no record of a teen transferred to the immigration enforcement agency’s custody. The teenager was first taken to ICE’s holding facility in Burlington Thursday, where he spent the night. He was transferred to the Virginia facility the next day. The Everett Police Department has a standing policy to not transfer custody of people in detention to federal immigration officials, the officer said“We don’t cooperate with immigration,” the Everett officer said. “We don’t turn prisoners over to them.”Under most circumstances, state law allows juveniles to be released only to a parent or guardian or the state Department of Youth Services, the officer said. He noted, though, that ICE automatically receives notification and fingerprint records whenever there is a felony arrest.Berto has been in regular contact with her son, Lattarulo said. “She’s struggling, like any mother would,” he said. Jason Laughlin can be reached at jason.laughlin@globe.com. Follow him @jasmlaughlin.