It's worth noting that the UK is currently in a period known as the transition, that keeps it bound to the EU's rules until 31 December. 1
...
The bill aims to ensure regulations between England, Scotland, Wales and Northern Ireland are joined-up because - once the UK leaves the EU - they will have the power to set their own rules on areas like food safety and air quality. 1
...
It is a legal agreement. 1

Requests left for this source (BBC News): 5