In addition to the penalties provided, a court may prohibit any person who violates or fails to comply with any of the provisions of this chapter relating to bicycles from riding a bicycle for a period not to exceed three months. In addition, any person violating or failing to comply with any of the provisions of this chapter relating to bicycles may be punished by having his bicycle impounded for a period not exceeding thirty days.