I don't see a problem with a spanking if it is used as a last resort. The threat of it is much more effective, however.