Lashing as a discretionary penalty and effect of its prevention