Nothing in sections 17a-560 to 17a-575, inclusive, shall be construed to extend to or affect any case in the Superior Court involving a juvenile matter, or to any person arrested for an offense which is not punishable by imprisonment for more than one year or by a fine of not more than one thousand dollars or both or except as provided in § 46b-127.