for some flights they are controlling carry-on size and maybe weight , i have seen it before 2 african flights i had from LIS this winter .
Agents filtering the entrance of the boarding area , not 100% sure whats next if its bigger than allowed , cause i had a small backpack only
At remote stations, unless strong policies , its usually up to local contractors willingness and situation