Earlier quoted context omitted.
Or better try telephone region codes, which are ambiguous when a phone number is written as a consecutive string of digits, without +/()/-/space.
You say this as if it’s a universal thing, like IATA codes, but I assume it’s a quirk of some particular country? My region code definitely does not have this. Sounds pretty nuts to me btw, how does that work when you turn it into standard E.164 format like “+123456789”?
Some countries are easier in their numbering system (Singapore being an obvious example) and some are not (China doesn’t disclose number ranges allocated for different regions/cities, which makes the renumbering step more difficult)