They only serve to express the owner`s frustration and are not real punishment in the classic sense.In the dog`s case,his owner`s action is interpreted by the dog as punishment for walking upto the owner,not as punishment for elimenating in the house several hours earlier.That dog learned that owner+odor=punishment,not that it is unacceptable to eliminate in the house,regardless of the weather.