To the extent necessary in order to achieve the objectives set out in this Regulation , ENISA may cooperate with the competent authorities of third countries or with international organisations or both .