BOSTON (Reuters) - A federal judge on Thursday rejected the Trump administration’s bid to dismiss a lawsuit challenging the federal government’s growing practice of conducting warrantless searches on phones and laptops of Americans stopped at the border.

A U.S. Customs and Border Protection officer prepares to search a vehicle at the Mexico-U.S. border port of entry in Hidalgo, Texas, U.S., April 13, 2018. REUTERS/Loren Elliott

U.S. District Judge Denise Capser in Boston ruled that the lawsuit by 11 travelers had raised a plausible claim that such border searches violate the U.S. Constitution’s Fourth Amendment protections against unreasonable searches and seizures.

While Casper described the law as unclear, she said the issue was not unlike a major privacy rights case the U.S. Supreme Court decided in 2014 in which it held police must obtain a warrant to search an arrested suspect’s cellphone.

The judge said that Supreme Court ruling “indicates that electronic devices implicate privacy interests in a fundamentally different manner than searches of typical containers or even searches of a person.”

“In sum, the Court is not persuaded that Plaintiffs have failed to state a plausible Fourth Amendment claim here,” Casper wrote.

She also rejected the government’s arguments that the plaintiffs, 10 U.S. citizens and one permanent resident, lacked standing to pursue the case.

The ruling was welcomed by the American Civil Liberties Union and the Electronic Frontier Foundation, which filed the lawsuit on behalf of the travelers, whose devices were searched by border officers as they re-entered the country.

“The court has rightly recognized the severity of the privacy violations that travelers face when the government conducts suspicionless border searches of electronics,” ACLU attorney Esha Bhandari said in a statement.

The U.S. Customs and Border Patrol (CBP) declined to comment.

According to the ACLU, the number of electronic device searches at the border has been increasing since 2016 and has grown even more during Republican President Donald Trump’s administration.

According to fiscal year data from the CBP, searches of electronic devices climbed from about 8,500 in 2015 to about 19,000 in 2016 and 32,000 2017.

The lawsuit was filed in September by travelers including a military veteran, a National Aeronautics and Space Administration engineer, two journalists and a computer programmer. Several of the plaintiffs are Muslim or minorities.

Generally in the United States, law enforcement is required to obtain a warrant before it can search an American’s electronic devices.

But a so-called border search exception allows federal authorities to conduct searches within 100 miles (160 km) of a U.S. border without a warrant.