Real estate which is not bid off and sold when offered for sale or resale, according to the provisions of sections 40:37-195 to 40:37-247 of this title shall be struck off to the commission by its corporate name, for the longest term for which a sale is authorized to be made, and it may hold the property and sell, assign and dispose thereof and use the proceeds in the same manner as directed in the case of moneys paid for benefits assessed. The commission shall, in relation to the real estate so struck off to it, have all the rights and privileges of a purchaser at such sale.