Competent authorities of different Member States shall cooperate with each other whenever necessary for the purpose of carrying out their duties under this Directive , making use of their powers , whether set out in this Directive or in national law .