Pātuhitia tēnei: The legal framework of the European union