EU threatens court action over missing permits