I have a friend that has a farm in the US. He wants to get funds to the foreign country where he lives. He is thinking of taking out a loan against the farm and transferring that money to his foreign residence to use to invest there. Are there any tax consequences?