The European Court of Justice has ruled on 6 March 2018 in Slovakia Republic v. Achmea BV, that provisions on investor State arbitration in bilateral investment treaties between EU Member States are incompatible with EU Law.
They in fact allow arbitrators to decide issues, without matters of EU law being decided by ECJ, which has exclusive jurisdiction on them.