Section 322(2) in Karnataka Municipal Corporations Act, 1976
(2)If immediate action is necessary, the commissioner may himself, before giving such notice or before the period of notice expires, fence off, take down, secure or repair such structure or fence off a part of any street or take such temporary measures as he thinks fit to prevent danger and the cost of doing so shall be recoverable from the owner or occupier in the manner provided in section 470.