Can we just rely on `COUNTRY_CODES` having the right values (the length check seems superfluous).