Any person who knowingly and willfully cuts, digs, breaks down, or opens any gate, bank, embankment, or side of any ditch, canal, flume, feeder, or reservoir, or who knowingly and willfully breaks, cuts, checks, or otherwise interferes with the flow of water in any drainage ditch, box drain, or tile drain, or any manhole, or other opening in any box drain or tile drain, in which such person may be a joint owner, or which may be the property of another, or in the lawful possession of another and used for the purpose of drainage, irrigation, manufacturing, mining, or domestic purposes, with intent to injure any person, association, or corporation, or for personal gain, unlawfully, with intent of stealing, taking, or causing to run or pour out of or into such ditch, canal, reservoir, feeder, flume, drainage ditch, box drain, or tile drain any water for personal profit, benefit, or advantage, or with intent to check or change the flow in any such ditch, canal, feeder, flume, drainage ditch, box drain, or tile drain, to the injury of any other person, association, or corporation, lawfully in the use of such water or of such ditch, canal, reservoir, feeder, flume, drainage ditch, box drain, or tile drain, is guilty of a misdemeanor and, upon conviction thereof, shall be punished by a fine of not less than fifty dollars nor more than seven hundred fifty dollars or by imprisonment in the county jail for not more than ninety days. The court shall further order that such person make full restitution to the victim of his or her conduct for the actual damages that were sustained. The amount of such restitution shall be equal to the actual pecuniary damages sustained by the victim. The court shall fix the manner and time in which such restitution shall be made.