Detroit's historic bankruptcy filing is "unconstitutional" and must be withdrawn, according to rulings filed Friday afternoon.

Ingham County Circuit Judge Rosemarie Aquilina said that Detroit's bankruptcy filing violates the Michigan Constitution, which bans any action that threatens to cut the pension benefits of public employees, according to the Detroit Free Press.

Lawyers representing the city's pension funds and some retirees had won an emergency hearing Thursday afternoon to block the bankruptcy filing, CNN Money reports. The hearing was scheduled to start at 4:11 p.m. But at 4:06 p.m., word came that Detroit Emergency Manager Kevyn Orr had already filed the bankruptcy paperwork with the federal government.

Aquilina told those lawyers that she had planned to grant their injunction.

In three rulings she issued Friday, the judge wrote, “Plaintiffs shouldn’t have been blindsided,” and “this process shouldn’t have been ignored.”

U.S. Bankruptcy Judge Stephen Rhodes was chosen Friday afternoon to preside over Detroit's attempt to qualify for bankruptcy. Michael S. Leib, a bankruptcy attorney and partner with Maddin, Hauser, Wartell, Roth & Heller, told The Huffington Post that Rhodes should have jurisdiction to decide whether the bankruptcy filing was unconstitutional.

"There are complicated issues of preemption and constitutional questions regarding the eligibility of the City to file the Chapter 9 Petition," Leib told The Huffington Post. "It would appear Congress placed that decision in the hands of the U.S. Bankruptcy Court."

Leib called Rhodes, who represents the Eastern District of Michigan, an "excellent choice" to hear Detroit's Chapter 9 petition.

In a statement, Michigan Attorney General Bill Schuette said the state would request an expedited hearing with the Michigan Court of Appeals.

Today Attorney General Schuette, on behalf of Governor Snyder, filed applications for leave to appeal with the Michigan Court of Appeals in the three pension cases before Ingham County Circuit Court Judge Rosmarie Aquilina. In addition, the Attorney General filed motions to stay the trial court rulings and any future proceedings while the appeals proceed. Later today, we expect to file additional motions seeking emergency consideration.

Aquilina, a Democrat appointee, also ordered that a copy of her order be sent all the way to the White House, saying that President Obama "bailed out Detroit" and might want to take a closer look, reports the Free Press.

Obama said Thursday that he is "monitoring the situation" but that the responsibility for Detroit's finances lies with municipal and state leadership.

Although Michigan's constitution protects public employee pensions from being reduced, federal bankruptcy law does not necessarily offer that same protections to pensioners. It's uncertain how Michigan's constitutional guarantee of retiree pensions would fare before a bankruptcy judge.

In the California city of Stockton, which was approved to go through bankruptcy in April, bondholders objected to pre-bankruptcy talks that proposed preserving funding to Calpers, the state's public employee retirement system. Judge Christopher Klein's opinion approving Stockton's bankruptcy petition noted that bondholders could allege "unfair discrimination" if the pension system's payments weren't cut.

Some have suggested that the fight over pension obligations in Stockton could go all the way to the Supreme Court. Until Detroit, Stockton, with a population of 292,000, was the largest U.S. city to file for bankruptcy.

Loading Slideshow...
  • The Caesars Windsor Casino stands in contrast to an abandoned warehouse in Detroit. (Photo by Bonnie Jo Mount/The Washington Post via Getty Images)

  • A tree stump sits among the ruins of the Packard Automotive Plant, a 35 acre site where luxury cars were manufactured until the 1950s on May 2, 2013 in Detroit. (Photo by Ann Hermes/The Christian Science Monitor via Getty Images)

  • Graffiti covers an abandoned building February 24, 2013 in Detroit, Michigan. (Photo by J.D. Pooley/Getty Images)

  • In a photo shot on Tuesday, Feb. 14, 2012, a dog looks out from behind a wall in an abandoned home in Detroit. (AP Photo/Carlos Osorio)

  • Abandoned houses are painted orange as part of Object Orange: Detroit, Disneyland, Demolition, are located off of the Davison Freeway service drive in Highland Park, Michigan on Thursday, May 18, 2006. (Photo by Jeff Kowalsky/Bloomberg via Getty Images)

  • Residents that live in Detroit's east end came out of their homes to watch the third abandoned building fire of the day at the corner of Frederick and Chene. (Photo by Lucas Oleniuk/Toronto Star via Getty Images)

  • In a July 31, 2012 photo, a boat is dumped in a field in east Detroit. Abandoned lots, alleys and neglected parks in Detroit used to be a favorite destination for discarded tires and trash. But over the past few months they have become dumping grounds for the dead. At least seven bodies have been found in some of the most desolated haunts in a half-empty city. (AP Photo/Carlos Osorio)

  • A City of Detroit fire station that was recently closed is seen February 24, 2013 in Detroit, Michigan. (Photo by J.D. Pooley/Getty Images)

  • Part of the Brewster-Douglass housing project site is shown in Detroit, Friday, March 18, 2011. (AP Photo/Paul Sancya)

  • The abandoned Detroit Public Schools book depository

  • Detail of unused books left to rot at the abandoned Detroit Public Schools book depository.

  • The view from the inside of the abandoned Fisher Body Plant in Detroit.

  • Graffiti covers a crumbling building February 24, 2013 in Detroit, Michigan. (Photo by J.D. Pooley/Getty Images)

  • The General Motors (GM) world headquarters is seen February 24, 2013 in Detroit, Michigan. (Photo by J.D. Pooley/Getty Images)

  • Detroit firefighters arrived on the scene of an abandoned dwelling fire at 2645/51 Frederick Street in Detroit's east end. (Photo by Lucas Oleniuk/Toronto Star via Getty Images)

  • A sign advertising building rates is seen on an abandoned building on February 24, 2013 in Detroit, Michigan. (Photo by J.D. Pooley/Getty Images)

  • An abandoned boat filled with trash sits on Conant Street in Detroit, Michigan, on Sunday, April 9, 2006. Detroit eliminated bulk trash pick up three months ago due to budget cuts. (Photo by Jeff Kowalsky/Bloomberg via Getty Images)

  • A man walks past an abandoned house that is painted orange as part of Object Orange: Detroit, Disneyland, Demolition, located off of the Davison Freeway service drive in Highland Park, Michigan on Thursday, May 18, 2006. (Photo by Jeff Kowalsky/Bloomberg via Getty Images)

  • Barbed wire blocks the entrance of the abandoned Michigan Central Station on May 2, 2013 in Detroit, Michigan. The station was opened in 1913, closed in 1988, and has fallen into disrepair since. (Photo by Ann Hermes/The Christian Science Monitor via Getty Images)

  • Steam rises from a manhole at dawn among abandoned buildings and factories along East Warren Avenue on May 2, 2013 in Detroit, Michigan. (Photo by Ann Hermes/The Christian Science Monitor via Getty Images)

  • A man walks past the abandoned East Grand Boulevard Methodist Chruch on May 2, 2013 in Detroit, Michigan. (Photo by Ann Hermes/The Christian Science Monitor via Getty Images)

  • Two abandoned apartment buildings burn on Waverly Street in the declining Detroit enclave of Highland Park. Last year the Detroit Fire Department received 27,000 calls. (Photo by Lucas Oleniuk/Toronto Star via Getty Images)

  • Michigan Central Stationis Detroit's most famous ruin, with the train station last open in 1988. Designed by the same architects as New York's Grand Central Station.

  • An interior shot of the massive Michigan Central Station.

  • A worker measures the former Detroit Fire Department Ladder No. 10 firehouse on Mt. Elliott in Detroit, Wednesday, May 8, 2013. Detroit plans to sell seven unused firehouses and a renovated but long-vacant police facility that once housed horses as part of an effort to raise money and encourage redevelopment. (AP Photo/Paul Sancya)

  • A July 31, 2012 photo shows a memorial to two killed teens whose decomposing bodies were found July 27 in a field in east Detroit. Abandoned lots, alleys and neglected parks in Detroit used to be a favorite destination for discarded tires and trash. But over the past few months they have become dumping grounds for the dead. At least seven bodies have been found in some of the most desolated haunts in a half-empty city. (AP Photo/Carlos Osorio)

  • This Oct. 24, 2012 file photo shows a graffiti-marked abandoned home north of downtown Detroit, in background. (AP Photo/Carlos Osorio, File)

  • Graffiti covers an abandoned building at the former Belle Isle Safari Zoo February 24, 2013 in Detroit, Michigan. (Photo by J.D. Pooley/Getty Images)

  • In this Dec. 11, 2008 file photo, pedestrians walk by the abandoned Packard plant in Detroit. (AP Photo/Carlos Osorio, File)

  • Members of the Detroit Fire Department exit after putting out a fire in an abandoned house in Detroit on Thursday, Feb. 21, 2013. Photographer: Jeff Kowalsky/Bloomberg via Getty Images

  • Shuttered Packard motor car company plant in Detroit.

  • In this Oct. 24, 2012, photo, a broken streetlight lies on a sidewalk east of downtown Detroit. (AP Photo/Carlos Osorio)

  • The abandoned Harbor Light Center, in Detroit, Michigan on July 21, 2012. (Photo By Raymond Boyd/Michael Ochs Archives/Getty Images)

  • The abandoned Hotel Eddystone, in Detroit, Michigan on July 21, 2012. (Photo By Raymond Boyd/Michael Ochs Archives/Getty Images)

  • An abandoned home is seen on February 24, 2013 in Detroit, Michigan. (Photo by J.D. Pooley/Getty Images)

  • The abandoned First Unitarian Church, in Detroit, Michigan on July 21, 2012. (Photo By Raymond Boyd/Michael Ochs Archives/Getty Images)

  • The abandoned Detroit Public Schools book depository.

  • The back of an abandoned building facing, in Detroit, Michigan on July 21, 2012. (Photo By Raymond Boyd/Michael Ochs Archives/Getty Images)

  • Abandoned Detroit Central Depot shot from street.

  • This Oct. 24, 2012, photo shows a broken streetlight base on a sidewalk east of downtown Detroit. When the World Series was broadcast that week, television viewers saw vibrant crowds and skyline shots of the city. Yet beyond the hot dogs and home runs, Detroit is struggling to cross home plate. (AP Photo/Carlos Osorio)

  • The General Motors world headquarters building is shown near an abandoned building March 30, 2009 in Detroit. (Photo by Bill Pugliano/Getty Images)

  • Exterior of abandoned house in Detroit, a familiar sight in many neighborhoods.

  • Detroit Abandoned Buildings

    The back of the abandoned Michigan Central Station on May 1, 2013 in Detroit. (Photo by Ann Hermes/The Christian Science Monitor via Getty Images)

  • An abandoned home in Detroit.

  • An abandoned building in Detroit.

  • In a July 31, 2012 photo, a trashed strewn street is seen in east Detroit. Abandoned lots, alleys and neglected parks in Detroit used to be a favorite destination for discarded tires and trash. But over the past few months they have become dumping grounds for the dead. At least seven bodies have been found in some of the most desolated haunts in a half-empty city. (AP Photo/Carlos Osorio)

  • Graffiti decorates the ruins of the Packard Automotive Plant, a 35 acre site where luxury cars were manufactured until the 1950s on May 2, 2013 in Detroit, Michigan. Sitting on the East side of Detroit, the former automotive plant is now a site for scavengers, urban explorers and graffiti artists. (Photo by Ann Hermes/The Christian Science Monitor via Getty Images)

  • The abandoned Fisher Body Plant.

  • The Fisher Body Plant in Detroit, which is abandoned.

  • Part of the Brewster-Douglass housing project site is shown in Detroit, Friday, March 18, 2011. (AP Photo/Paul Sancya)

  • Aerial photograph of the Michigan Central Station's Beaux-Arts facade in Detroit, Michigan.