Answering the million dollar question, "Did I deserve this ban/chat restrict?"
99.9% of the time: Yes.
The automated system is extremely well-made by this point with various revisions and changes over the course of its development and lifespan.
Chance of error is extremely small.
Also being banned as a result of "security" issues is such a minor and uncommon event it rarely matters, and in a lot of the cases, it's still your fault for not keeping better guard of your password for example or your account (sharing accounts or passwords, etc).
TL;DR - Yes, you probably did.