By whom were you told? "Enforcers" are sometimes actual airline employees and sometimes contractors hired to patrol check-in and security lines.
Also, is your experience across multiple airlines or just one airline? (For instance, I frequent the AA forum, and I read about a period where the AA really seemed to be making a push to enforce carryon bag sizes at several stations.)