These Regulations are made in exercise of the powers in section 8(1) of the European Union (Withdrawal) Act 2018 (c. 16) in order to address failures of retained EU law to operate effectively arising from the withdrawal of the United Kingdom from the European Union.
Link: The Electricity Network Codes and Guidelines (System Operation and Connection) (Amendment etc.) (EU Exit) (No. 2) Regulations 2019
Source: Legislation .gov.uk