Ask your agent about what exactly is meant by arms length transaction. When you go to closing you and the seller will be asked to sign documents pertaining to this, stating the seller is not now nor will be in the future a buyer or a tenant, regardless of what your purchase agreement says.
I was required to sign the statement before the bank would consider our offer. It contains no statements that restrict who I can sell or rent to.