Legal framework for a European Research Infrastructure Consortium