Court clouds housing picture: Affordable program rejected in Mercer