Punishments should always be proportionate - for welfare reasons. But humans that do not respond to the mild swipe and nip may need more serious measures - a proper scratch to draw blood or the deep bite.
Only use these when things are really serious. You don't want to ruin the cat-human relationship on which regular meals and warm radiators depend.
For more on how to manage your human order my manual here.