Any credential, license, or permit issued by a commission, if used by the holder thereof for a purpose other than identification and in the performance of legitimate duties on a racetrack, shall be automatically revoked whether so used on or off a racetrack.