The 2000 squawk is one of the INTERNATIONAL 'special purpose' squawks.
Pilots must squawk 2000 when entering UK airspace from an adjacent region where the operation of transponders has not been required. As it is an international code I assume this is the same for all ICAO countries.
It's tucked away in the enlightening UK AIP.