Engaging in conduct which actually results in, or is intended to result in, justice not being achieved has always been treated seriously by the criminal justice system – historically attracting sentences as serious as death.
In New South Wales, the offence of perverting the course of justice or attempting to do so is contained in section 319 of the Crimes Act 1900 and carries maximum penalty of 14 years' imprisonment.
And while that may seem to be a heavy penalty in modern times, the offence can carry up to life in prison in some jurisdictions of the United Kingdom and Wales, and in the United States has seen those convicted being sentenced to terms of as long as 30 years behind bars.