An authorised officer of a council shall, on producing, if so required, some duly authenticated document showing his authority, have a right to enter any premises at all reasonable hours—
but admission to any premises used only as a private dwelling-house shall not be demanded as of right unless 24 hours' notice of the intended entry has been given to the occupier.
If a justice of the peace, on sworn information in writing—
the justice may by warrant sisgned by him authorise the council by any authorised officer to enter the premises, if need be by force.
An authorised officer entering any premises by virtue of this section, or of a warrant issued under it, may take with him such other persons as may be necessary, and on leaving any unoccupied premises which he has entered by virtue of such a warrant shall leave them as effectively secured against trespassers as he found them.
Every warrant granted under this section shall continue in force for a period of one month.
If any person who, in compliance with this section, or of a warrant issued under it, is admitted into a factory or workplace discloses to any person any information obtained by him in the factory of workplace with regard to any manufacturing process or trade secret, he shall, unless the disclosure was made in the performance of his duty, be liable to a fine not exceeding level 3 on the standard scale or to imprisonment for a term not exceeding three months.
Nothing in this section authorises any person, except with the permission of the local authority under the Animal Health Act 1981, to enter any cowshed or other place—