My reading is that when the buying and selling entites are not related, the ATO assumes the sale to be at a 'fair' price. However, where the entities are related the ATO would scrutinise it for 'fairness'.
I haven't researched this in detail, but for example, that ACR thing where the wife of...