The lesson is that the dog must learn to work through stress. This is appropriately taught through positive reinforcement without having to correct the bejesus out of the dog. Threads about compulsion vs positive reinforcement all go the same place: with the same people asking directly how one would deal with such a problem. This video demonstrates exactly how a smart R+ trainer would deal with the problem. They find a solution by controlling the reinforcement.
RATCHX3 High Jinks vom Neuanfang - Gotchya Day: 1/23/2013 DN, SG, SR, CA
Inspire Spark to Ignition! (Ignite) Gotchya Day: 10/8/2016
C-ATCH Pimg - RATO, UJJ (x2), DJX, HIT, CA, CGC, High in Games, Reserve High in Standard- CPE Nationals 2014