(1) (a) There is hereby created a mandatory protection order against any juvenile charged with the commission of a delinquent act and the juvenile's parents or legal guardian, which order shall remain in effect from the time that the juvenile is advised of such juvenile's rights and informed of such order at such juvenile's first appearance before the court until final disposition of the action or, in the case of an appeal, until disposition of the appeal. Such order shall restrain the juvenile and the juvenile's parents or legal guardian from harassing, molesting, intimidating, retaliating against, or tampering with any witness to or victim of the delinquent act charged.
(b) Repealed.
(c) The protection order issued pursuant to this section shall be on a standardized form prescribed by the judicial department, and a copy shall be provided to the protected parties.
(2) At the time of the juvenile's first appearance before the court, the court shall inform the juvenile and the juvenile's parents or legal guardian of the protection order effective pursuant to this section and shall also inform the juvenile and the juvenile's parents or legal guardian that a violation of such order is punishable as contempt of court.
(3) Nothing in this section shall preclude the juvenile or the juvenile's parents or legal guardian from applying to the court at any time for modification or dismissal of the protection order issued pursuant to this section or the district attorney from applying to the court at any time for additional provisions under the protection order, modification of the order, or dismissal of the order. The trial court shall retain jurisdiction to enforce, modify, or dismiss the protection order during the pendency of any appeal that may be brought.
(4) The duties of peace officers enforcing orders issued pursuant to this section shall be in accordance with section 18-6-803.5, C.R.S., and any rules adopted by the Colorado supreme court pursuant to said section.