It's hard to imagine how such commitments might be maintained, which suggests that fines are more effective than boycotts, especially if they are written into law rather than imposed on an ad hoc basis.
Fines are much more effective than boycotts are. 