Where an insurance undertaking and either a credit institution as defined in Directive 77/780 / EEC ( 10 ) or an investment firm as defined in Directive 93/22 / EEC ( 11 ) , or both , are directly or indirectly related or have a common participating undertaking , the competent authorities and the authorities with public responsibility for the supervision of those other undertakings shall cooperate closely .