executed at once , though , such discipline often had a salutary effect , showing the prisoners that retribution would be swift and dire , enhancing their respect for those who held their guardianship .