I have no data of the training exception before the Transfer, but whatever is gained by training after the player returns counts towards luxury tax / training exception.
So merchandise wies and (if there is an effect) possibly attendance the player counts as „homegrown“.
founded in S3 IV.5 (34234) - returned in S28 IV.7 (34515)