In each instance in which a provision of this chapter authorizes the execution by any person of a written promise to appear or to have any other person appear before the probation officer or before the juvenile court, any willful failure of such promissor to perform as promised constitutes a misdemeanor and is punishable as such if at the time of the execution of such written promise the promissor is given a copy of such written promise upon which it is clearly written that failure to appear or to have any other person appear as promised is punishable as a misdemeanor.