(2)If, in any case referred to in sub-section (1), the Chief Executive Officer is of opinion that such a course is necessary in order to prevent imminent danger, he may, by order in writing, require a proper hoarding or fence to be put up for the protection of passers-by.