The exception for shares or debentures in relation to which the subsidiary undertaking is concerned as trustee does not apply if the company or any of its subsidiary undertakings is beneficially interested under the trust, otherwise than by way of security only for the purposes of a transaction entered into by it in the ordinary course of a business which includes the lending of money.