code: @CheckReturnValue
    LocalSyncWriteModelContainer desyncDocumentsFromRemote(
        final NamespaceSynchronizationConfig nsConfig,
        final BsonValue... documentIds) {
      this.waitUntilInitialized();
      final MongoNamespace namespace = nsConfig.getNamespace();
      final Lock lock = this.syncConfig.getNamespaceConfig(namespace).getLock().writeLock();
      lock.lock();
      final DeleteManyModel<CoreDocumentSynchronizationConfig> configsToDelete;
      try {
        ongoingOperationsGroup.enter();
        configsToDelete = syncConfig.removeSynchronizedDocuments(namespace, documentIds);
      } finally {
        lock.unlock();
        ongoingOperationsGroup.exit();
      }
  
      LocalSyncWriteModelContainer container = null;
      if (configsToDelete != null) {
        container = newWriteModelContainer(nsConfig);
        container.addDocIDs(documentIds);
        container.addLocalWrite(new DeleteManyModel<>(
            new BsonDocument("_id",
                new BsonDocument("$in", new BsonArray(Arrays.asList(documentIds))))
        ));
        container.addConfigWrite(configsToDelete);
      }
  
      return container;
    }
docs: Requests that a document be no longer be synchronized by the given _id. Any uncommitted writes
  will be lost.
  
  @param nsConfig    the namespace synchronization config of the namespace where the document
  lives.
  @param documentIds the _ids of the documents.