it is necessary to ensure sufficiently  institutions that they can perform functions properly
It is necessary to ensure sufficient resources for the EU institutions so that they can perform their functions properly.
It is necessary to ensure sufficient the EU institutions that they can perform functions properly.