Utilizing macOS local APFS snapshots for Restic backups

Funny. I am curious what exactly happened when I used restore -t / to restore /opt/local from a snapshot last week, as in my experience it did just that (but maybe it worked only partly and I was just lucky)