Notwithstanding the provisions of section , a person who commits a violation punishable under subdivision (3)(b) or (c) of section or subdivision (3)(b) or (c) of section or a violation of section , , or while participating in criminal proceedings for a violation of section , , or , or a city or village ordinance enacted in accordance with section or , or a law of another state if, at the time of the violation under the law of such other state, the offense for which the person was charged would have been a violation of section , shall not be eligible to receive a sentence of probation or a suspended sentence for either violation committed in this state.