The violation of any provision of this article shall constitute an offense under this article and shall be punishable in accordance with section 1-12; additionally, any violation of this section by persons who have not yet reached the age of 17 shall be handled as provided by the juvenile court code of the state.