Not the one I was thinking of, but see TR95/25
42. Interest on a new loan will be deductible if the new loan is used to repay an existing loan which, at the time of the second borrowing, was being used in an assessable income producing activity or used in a business activity which is directed...