If it was taken by eminent domain, then the court may have been right on this.
Compensation? Sure. Evictions? No. Either it’s taken by eminent domain and there’s compensation, or the taking was nullified, and there’s no compensation. But they can’t do both.