(2)A transaction entered into by an enterprise with a person other than an associated enterprise shall, for the purposes of sub-section (1), be deemed to be a transaction entered into between two associated enterprises, if there exists a prior agreement in relation to the relevant transaction between such other person and the associate enterprise, or the terms of the relevant transaction are determined in substance between such other person and the associated enterprise.