If it appears to the Secretary of State that, for the purpose of preventing such damage as is mentioned in the last foregoing section, it is expedient to prevent the escape of any animals from land on which they are kept in captivity, the Secretary of State may by notice in writing served on the occupier of the land require him to take within such time as may be specified in the notice such steps to prevent the escape thereof, as may be specified in the notice.