The competent authorities shall cooperate with ESMA for the purposes of this Directive , in accordance with Regulation ( EU )