The U.S. Supreme Court mistakenly posted a draft of an opinion on a key abortion case to its website Wednesday before quickly taking it down.

The opinion relates to whether Idaho hospitals are required to perform abortions in emergency situations despite a state law banning the act. Bloomberg News reported that the opinion was briefly posted to the website Wednesday morning before being taken down.

Court spokeswoman Patricia McCabe confirmed to Fox News Digital that the opinion has not formally been posted.

"The opinion in Moyle v. United States, No. 23-726, and Idaho v. United States, No. 23-727, has not been released," she said in a statement. "The Court’s Publications Unit inadvertently and briefly uploaded a document to the Court’s website. The Court’s opinion in Moyle v. United States and Idaho v. United States will be issued in due course."

FBI MET WEEKLY WITH BIG TECH AHEAD OF THE 2020 ELECTION, AGENT TESTIFIES

Supreme Court members

Members of the Supreme Court, from left, Justices Amy Coney Barrett, Neil M. Gorsuch, Sonia Sotomayor and Clarence Thomas, Chief Justice John G. Roberts and Justices Ketanji Brown Jackson, Samuel A. Alito, Elena Kagan and Brett M. Kavanaugh on Sept. 30, 2022. (Collection of the Supreme Court of the United States via Getty Images)

Bloomberg reported that the version of the opinion posted on Wednesday suggested that the court is prepared to side in the federal government's favor. If accurate, hospitals in states with abortion bans will be required to administer abortions in emergency situations while the case continues to be litigated. The version of the opinion that was posted said it was premature to decide the case on the merits since lower courts had yet to do so, and that the matter should go back to a federal court of appeals.

BIDEN LIKELY VIOLATED FIRST AMENDMENT DURING COVID-19 PANDEMIC, FEDERAL JUDGE SAYS

Based on oral arguments in April, it was unclear from the public session how the court might eventually decide. Justices Brett Kavanaugh and Amy Coney Barrett asked aggressive questions of both sides.

Supreme Court Justice Kavanaugh

Based on oral arguments in April, it was unclear from the public session how the court might eventually decide. Justices Brett Kavanaugh (above) and Amy Coney Barrett asked aggressive questions of both sides. (AP Photo/Sue Ogrocki)

Idaho officials argued hospitals cannot be forced by the Biden administration to perform abortions in potential emergency situations if the state has a near-total ban on the procedure — with an exception only to save the life of the mother.

SUPREME COURT TO HEAR ARGUMENTS IN KEY FIRST AMENDMENT CASE CHALLENGING BIDEN ADMIN TEAMWORK WITH BIG TECH

Meanwhile, the Justice Department argued the federal Emergency Medical Treatment and Labor Act requires health care providers to give "stabilizing treatment" — including abortions — for patients when needed to treat an emergency medical condition, even if doing so might conflict with a state's abortion restrictions.

Supreme Court

Court spokeswoman Patricia McCabe confirmed to Fox News Digital that the opinion has not formally been posted. (AP Photo/Jacquelyn Martin, File)

CLICK HERE TO GET THE FOX NEWS APP

The Supreme Court will go into recess in a matter of days, and the Idaho ruling could be formally released later this week.