Officials from the Scottish Courts and Tribunals Service (SCTS) snapped up the final commercial batch of devices on the market after it was announced that production of them would stop.
They had to invest in 30 machines costing £300 each due to problems with playing CCTV evidence during court cases.
Many incidents are captured in VHS format on older privately-owned CCTV systems which can only be played back on video recorders.
Difficulties with playing the images in court can lead to cases being delayed or even abandoned and the courts are trying to implement a system of digitised evidence.
The VHS purchase was revealed by Scotland's second most senior judge, the Lord Justice Clerk, Lady Dorrian, during a speech to the Scottish Young Lawyers' Association about planned technological advancements in courts.
She said: "It is well known that one of the major obstacles to efficiency in our criminal justice system is the difficulty of storing and sharing at an early stage the vast array of evidence pertaining to cases.
In July, Japanese electronics maker Funai Electric made the world's last video cassette recorder after announcing they were ceasing production.
A company spokesman said they wanted to continue production to meet customer requests, but could not because key component makers are pulling out due to shrinking demand.
DVDs and home recording boxes from Sky and others have replaced VHS as the popular way to record shows.
There has been an increasing number of cases where evidence cannot be played in court because footage is in the wrong format and the issue has led to complaints from sheriffs and lawyers.A SCTS spokesman said: "The SCTS maintains and upgrades its courtroom technology capability on a regular basis.
"The courts receive evidence in a wide range of formats in both civil and criminal cases from a range of parties, including evidence which has been captured on VHS format. Often this is from privately-owned CCTV systems.
"The court needs to be able to present evidence in the format in which parties to a case present it, which is usually the format in which it was recorded.
Thus if evidence is captured on VHS, the court needs to provide equipment to allow it to be introduced form the original VHS recording."Recognising that VHS players are no longer produced and that these would soon be unavailable commercially, the SCTS recently secured 30 VHS units through its digital supplier, at a cost of £300 each, to ensure the smooth operation of the courts."