The UK is not part of the EU so it is not subject to the ECJ, regardless of the outcome of the ruling.
The EPL and the UK government have threatened to amend and enact laws to stop the ESL, from revoking permits of foreign players and managers working in a participating club to subjecting the clubs to anti-trust reviews etc. There is no getting around it.