Sync of deletion on large directories

Is the following scenario behaving correctly?

  1. have a large directory, say 1,5 GB
  2. let it replicate on the client
  3. automated replication stops because directory is large (> 1GB)
  4. while replication is stopped, remove the files on the server (cleaning action)
  5. ask for a sync explicitly on the client
  6. the old content that were replicated on the client are copied back on the server
    I would expect somehow that between client and server, they realise that the content on the client is old and has to be deleted.
    Am I wrong?
    If you know in which part of the code this is handled, let me know and I will have a look.
    Best regards,
    Hubert J.