Sleep is analogous but incomplete. Maybe closer to anesthesia? Like if you forcefully placed someone into a coma we'd consider that a crime, but we don't consider it to be the case for a doctor, even if a doctor does it (acting as a doctor, not just being a doctor) without the person's consent. Context matters. This aspect to me comes down to reasonable (like medical) and/or necessity (like sleep)
I'm sure we'd also have to consider lifetime lengths. I don't think someone drugging me for a day should receive the same punishment as someone that did it for a month who didn't do the same as someone that took years from me. And which years matter. The question is how we deal with this for entities with different lifespans.
(sorry if I'm verbose, distillation takes time. I also communicate better through analogies and I think it is also illustrative of the spirit argument as you must understand intent over what's actually said)
So I think the spirit of these laws is centered around robing someone of time, because time is a non-reversible (and definitely not invertible) process that has a has significant value. That's what the laws' underlying intent is (at least partially) aligned to. So that's what I'd call the spirit. It's quite possible other entities see time differently and length of time has different value impacts as well as the means for removing said time.
Overall I think these things are deceptively simple. But in reality nuance dominates. I think this is a far more general phenomena than many care to admit, probably because our brains are intended to simplify as it's far more energy efficient. I mention this though because it is critical to understanding the argument and how (at least I personally) we can make future predictions and thus what we must consider.