Developers won't be allowed to sell flats planned for empty