The European legislative framework