If any person or persons shall wilfully and maliciously injure or destroy any of such booms or piers or other works connected therewith, or shall remove, alter or deface any mark or marks on any logs or other timber intended for such boom, he shall pay treble damages, to be recovered by an action brought in the name of such corporation, before a justice or any of the courts of the county having jurisdiction in which he or they shall reside, or in the county in which the offense was committed; and such person or persons so offending shall also be guilty of a misdemeanor, and, upon conviction thereof, may be fined not exceeding $100 or confined in the county jail not exceeding twelve months, or both, in the discretion of the court.