code: @CheckReturnValue
    @Nullable
    private LocalSyncWriteModelContainer deleteOneFromRemote(
        final NamespaceSynchronizationConfig nsConfig,
        final BsonValue documentId
    ) {
      final MongoNamespace namespace = nsConfig.getNamespace();
      final Lock lock = this.syncConfig.getNamespaceConfig(namespace).getLock().writeLock();
      lock.lock();
      final CoreDocumentSynchronizationConfig config;
      try {
        config = syncConfig.getSynchronizedDocument(namespace, documentId);
        if (config == null) {
          return null;
        }
      } finally {
        lock.unlock();
      }
      eventDispatcher.emitEvent(nsConfig,
          ChangeEvents.changeEventForLocalDelete(namespace, documentId, false));
      return desyncDocumentsFromRemote(nsConfig, documentId);
    }
docs: Deletes a single synchronized document by its given id. No deletion will occur if the _id is
  not being synchronized.
  
  @param nsConfig   the namespace synchronization config of the namespace where the document
  lives.
  @param documentId the _id of the document.