Driver at California protest agrees to admit gun violations