According to the Associated Press, the 5th U.S. Circuit Court of Appeals ruled that the law, which requires doctors to have admitting privileges at a nearby hospital, can take effect while the lawsuit moves forward.

The court left in place a portion of a law issued against the state’s new restriction on pregnancy-ending drugs.

The ruling is temporary until another hearing is held, which will likely be in January and the restrictions could take effect as soon as Friday.

Opponents of the restriction said clinics will likely shut down or stop offering to perform the procedure.

“Today’s decision affirms our right to protect both the unborn and the health of the women of Texas,” Perry said in a statement. “We will continue doing everything we can to protect a culture of life in our state.”

The San Antonio Express-News reports that during a three-day trial in Austin last week, abortion-rights groups convinced U.S. District Judge Lee Yeakel that up to 12 clinics would stop offering abortions if the admitting privilege provision took effect. Yeakel, in an opinion issued Monday, ruled that it posed an undue burden on women and has no “rational relationship to improved patient care.”

This caused the law to be frozen, just one day before it was scheduled to take effect.

“This restriction clearly violates Texas women’s constitutional rights by drastically reducing access to safe and legal abortion statewide,” she said in a statement. “We will take every step we can to protect the health of Texas women in the wake of this ruling.”