A circuit court judge in Ingham County, Mich., has ordered the City of Detroit to withdraw its bankruptcy filing from federal court, citing the lack of protection for pension plans in bankruptcy court and a violation of the state constitution, Detroit News reports.

The judge said a state law protects pensions from being "diminished," and ruled that Detroit's emergency manager and Michigan's governor violated the state constitution by making the filing.

The filers immediately appealed the judge's decision, according to the Detroit News.