<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def config_replace(self, *args, **kwargs):
 """Replaces the existing config with a user-defined config. Make sure to back up the config file first if neccessary, as this operation can't be undone. """

        return self._client.request('/config/replace', args,
                                    decoder='json', **kwargs)