My carry-on have never been checked on the gate (but in fact, I do not exceed the limit, and usually use priority boarding)
Sometimes they want to check the carry on during check-in.
Be careful, because all LOT gates are equipped with scales, and general policy may change.