However, because the gain is reflected in S's basis in the T stock before T's acquisition date and the asset is owned by P1 while it is affiliated with T during the portion of T's consistency period following T's acquisition date, paragraph (f) of this section applies to the asset if there is an arrangement.