B.5 Development permitted by Class B and carried out within 400 metres of the curtilage of a protected building is subject to the condition that any building which is extended or altered, or any works resulting from the development, shall not be used for the accommodation of livestock except in the circumstances described in paragraph D.3 below or for the storage of slurry or sewage sludge.