A half a billion dollar presidential library for former President Barack Obama planned in Chicago, Illinois, has hit a stumbling block in the form of a decision by a judge made Tuesday.

And ironically, it was a judge that Obama himself appointed.

The lawsuit was filed by the Protect Our Parks organization, which accuses the Barack Obama Foundation of pulling a "bait and switch" by changing from a publicly run project to a privately run plan.

The goal of the lawsuit is to "bar the Park District and the City from approving the building of the Presidential Center and from conveying any interest in or control of the Jackson Park site to the Foundation."

U.S. District Judge John Robert Blakey ruled against the foundation Tuesday and said the lawsuit could proceed.

Protect Our Parks argues that the plan would violate laws that bars private development on city land. The Barack Obama Foundation disputed the claim and asked for the lawsuit to be dismissed.

In addition to being a privately owned development, the project will also cost the Illinois taxpayer a reported $199 million.

Judge Blakely was appointed by Obama in 2014.

Here's a local news report on the development: