Legal framework for mineral extraction and permitting procedures for exploration and exploitation in the EU