When it becomes necessary, to secure the state or any county or other municipal corporation thereof from loss, to take real estate on account of a debt by bidding the same in at execution sale or otherwise, the conveyance shall vest in the grantee as complete a title as if it were a natural person.
Iowa Code § 569.1