I am hired to advise and protect my clients. I take my responsibility very important so things like this don't happen. Because if you don't perform per contract guidelines this can happen.
This is clearly a legal Q, but from my experience, it's possible to write a security clause wrong, and
if so, it may be unenforcable.
Good luck in court.