(2)Where the Municipal Commissioner or the Executive Officer is satisfied that the destruction of any building, hut or shed, or clothing, or article is immediately necessary for the purpose of preventing the spread of any dangerous disease, he may cause such building, hut or shed or clothing or article to be destroyed:Provided that compensation may be paid by the Municipal Commissioner or the Executive Officer to any person who sustains substantial loss by the destruction of such building, hut or shed or clothing or article.