Where's the common sense in these agents? When they realized that a flight-full of people have undeclared fruit at a much greater than normal rate, why not make use of the PA with an announcement to warn all the pax that are still in line? "All pax from flight XX please double-check that you do not have any fruit given to you by the airline; apparently a snack bag containing fruit was handed out just before landing."
Did they really have to create the holdup of fining all of those people? Sounds like a revenue generation tactic to me, much like speed traps.
Of course, the irony is that even with this stupidity, the politeness level is infinitely better than reported treatment by US CBP of returning citizens who do not have any contraband but get secondary search, interrogation, laptop confiscation, etc.