(b)the terms of the relevant transaction are determined, in substance, between such other person and the associated enterprise,and the enterprise or the associated enterprise or both of them are non-residents, irrespective of whether the other person is a non-resident or not.