The holding of the shares by a trustee will not cause the loss of the exemption, provided that the shareholder was the beneficial owner.
If an interest-free loan is received by an employee in order to acquire shares of his employer, then interest on money borrowed by his employer to make the loan will be deductible.