From my brief readings into such issues the likelihood is a judge in such a scenario will find nothing illegal in such arrangements ,but can deem it unlawful and instruct the Council to do it all again but in a Lawful way.
Personally I can't envisage an issue as in essence they have reverted...