The islands are not part of the European Union and, thus, were not a party to the 2016 referendum on the EU membership, but are part of the Customs Territory of the European Community by virtue of Protocol Three to the Treaty on European Union.
The legal courts are separate; separate courts of appeal have been in place since 1961.