(k)provide for the protection of bridges, locks or other public works by regulating the floating of timber and the storing of such timber or other forest produce on river banks and authorising the seizure of such timber or other forest produce floated or stored in contravention of such rules or by which any damage to such work may have been caused and the detention and disposal of such timber or other forest produce until compensation has been made for the damage done.