code: public void storeOverwriteExisting(List<Entry> entries) throws NoSuchNodeException, MissingParentException {
          for (Entry entry : entries) {
              try {
                  store(entry);
              } catch (EntryAlreadyExistsException e) {
                  deleteSubtreeIncludingRoot(e.getEntry().getDn());
                  try {
                      store(entry);
                  } catch (EntryAlreadyExistsException e1) {
                      LOGGER.debug("should never reach here");
                      throw new LdapDaoException(e1);
                  }
              }
          }
      }
docs: Behaves like {@link #store(List)} except that duplicates do not throw an exception but are overwritten as
  described in {@link #storeOverwriteExisting(Entry)}. Note that this action is not atomic.