The way system settings are saved differs between CUPS full server and CUPS client-only mode.
CUPS server settings are stored in
/etc/cups/cupsd.conf
which is saved via
the INI agent. In /etc/cups/client.conf
the entry saying what CUPS server should be used is removed (which means
that the localhost will be used).