Government expropriating land and selling the apartments on the land

Q: If the state forcibly buys out housing in the city center from residents and evicts them to the outskirts in order to build new luxury buildings on that land and then sell them to new buyers, is such a transaction considered nāfidh (legally effective)? 

Is the work of a real estate agent selling these apartments lawful? Is the purchase of these apartments by new residents lawful, or does the sin and illegality rest only on the developer who organized all of this and promoted his interests among government officials (obviously through bribes)?