The driver of any vehicle involved in an accident resulting in injury to any person, other than himself or herself, or in the death of any person shall immediately stop the vehicle at the scene of the accident. Any person who violates this law shall be punished by imprisonment in the state prison, or in a county jail for not more than one year, or by a fine of not less than $1,000 nor more than $10,000, or by both that imprisonment and fine. If the accident results in death or permanent, serious injury, any person who violates this law shall be punished by imprisonment in the state prison for two, three, or four years, or in a county jail for not less than 90 days nor more than one year, or by a fine of not less than $1,000 nor more than $10,000, or by both that imprisonment and fine. However, the court, in the interests of justice and for reasons stated in the record, may reduce or eliminate the minimum imprisonment required by this paragraph.