They always did that during concerts or football events : removing the cap/seals from plastic bottle to let you in.
That's why I always removed the cap and put it in my pocket before checkin security so that they let me go, then putting back the cap once inside.
Security rules are so wrong and so dumb to override...