Section 31 shall not prohibit a company from -
(a) making a loan or quasi-loan to any company which is its holding company, subsidiary or a subsidiary of its holding company or entering into a guarantee or providing any security in connection with a loan or quasi-loan made by any person to any company which is its holding company, subsidiary or a subsidiary of its holding company;
(b) entering into a credit transaction as creditor for any company which is its holding company, subsidiary or a subsidiary of its holding company or entering into a guarantee or providing any security in connection with any credit transaction made by any other person for any company which is its holding company, subsidiary or a subsidiary of its holding company.