A plan to build an affordable housing complex is back in the courts.