The legislation, which makes the provisions relating to dogs in food premises is contained in Regulations (EC) No 852/2004, Annex II, Chapter IX – Provisions applicable to foodstuffs (4) as below:
Adequate procedures are to be in place to control pests. Adequate procedures are also to be in place to prevent domestic animals from having access to places where food is prepared, handled or stored (or, where the competent authority so permits in special cases, to prevent such access from resulting in contamination).
The below was received from the Food Standards Agency in Scotland in March 2014. However, this is applicable to the UK as a whole: