A Notwithstanding Section 20-7-2170, a child who is guilty of a violation of law or other misconduct which would not be a criminal offense if committed by an adult, including a child who has been found in contempt of court for violation of a court order related to the a violation of law or other misconduct which would not be a criminal offense if committed by an adult, or a child who violates the