According to UK law, which of the following provides the legal foundation for implementing a food safety management system based on HACCP principles?