Solicitor general Harriet Harman's attempt to have a father jailed for child cruelty was thrown out by the Court of Appeal.
The man, who cannot be named for legal reasons, pleaded guilty to child cruelty at Harrow Crown Court, west London, in April and was later given a two-year community rehabilitation order.
He admitted caning three of his eight children, aged 13, 10 and eight, with a length of bamboo to persuade them to own up to misbehaviour.
Jonathan Laidlaw, counsel for Harman, argued that the man had been treated with "undue lenience".
One of the three judges, Lord Justice Keene, said: "If chastisement goes beyond what is reasonable, it will be a criminal offence, but it doesn't automatically follow that a custodial sentence is always called for."
Slough returns 'raid' children to their families
29 January 2008
Paediatrician David Southall struck off medical register
05 December 2007
Three “shaken baby” convictions quashed
21 July 2005
Three jailed for torturing eight-year-old “witch”
11 July 2005
Jersey: Simon Bellwood 'unfairly sacked' inquiry finds
Councils failing to implement government guidance issued in 2002, study says
Threat of action called off until September in bid to end dispute
Lone parents, disabled and drug users face tougher benefits regime
Private Member Bills
25 July 2008
Government Legislation
25 July 2008
Details of government consultations
25 July 2008