Every time. All 13 menu options, “legitimate interest”, hidden tick boxes, big fat “YES” button and small grey “confirm my choices” button… ironically, if they didn’t try so hard, I think I wouldn’t care as much.
Based on your username, I’m going to make the wild assumption that you live in Finland. I’m old enough to remember when we didn’t have this system in Sweden, and stray shopping carts was never a problem back then. Anectotal and my memory may be a regional thing, sure, but where I live, most people would just put the carts where they belong because it would break the societal norm if they didn’t. And my point is just that this system probably costs more than it pays off for the stores that uses it.
I would hope someone realized it accomplishes nothing except being a mild annoyance for customers. Most people return the carts anyway and it doesn’t really stop anyone from stealing them if they really want them (or rather buying them for ~1 euro).