Users vs unique visitors (not equal)

Hello there

I am tracking a website with “setUserId”.

For any given day, there are more unique visitors than users (e.g. 1200 unique visitors, 1000 users). From my understanding these numbers should be equal (there are only visits with a userId in the visitor log)

Is there an explanation for this difference?

Thanks in advance Best