Not random, just issued in sequence so that they don’t repeat within the department.
Depending on the number of drivers the supply of sequential numbers would eb used up in a set range and would have to move to the next.
I guess it needs a french civil servant to explain it……