A local authority shall not enact an ordinance providing a criminal penalty for a violation of this chapter for which the penalty prescribed by this chapter is a civil penalty.