WASHINGTON (AP) — A federal court in Washington has told the Trump administration that the government can't interfere with the ability of pregnant immigrant teens being held in federal custody to obtain abortions.

A judge issued an order Friday evening barring the government from "interfering with or obstructing" pregnant minors' access to abortion counseling or abortions, among other things, while a lawsuit proceeds. The order covers pregnant minors being held in federal custody after entering the country illegally.

Lawyers for the Department of Health and Human Services, which is responsible for sheltering children who illegally enter the country unaccompanied by a parent, have said the department has a policy of "refusing to facilitate" abortions.