Use the same trick with modules/local-allow.info to temporarily make civicrm.settings.php writable, if exists.