The bank manager behind Scotland's largest single fraud is to have £63,000 confiscated from him.
The court decided Mackenzie had benefited by £63,000
The money is a fraction of the £21m Donald MacKenzie embezzled from the Royal Bank of Scotland (RBS).
The 45-year-old, who was named Manager of the Year for three consecutive years, is serving a prison sentence of six years and eight months.
He accessed money through the loan system by setting up false accounts at a branch in Edinburgh's Princes Street.
When MacKenzie was jailed last year, the court heard how the money from the false loans he processed had gone to others.
His take was increased bonuses from the Royal Bank of Scotland where he worked as one of their star employees.
On Monday, the High Court in Edinburgh heard he benefited by £63,000. Judge Lord Eassie agreed that was the sum which should be confiscated.
MacKenzie was originally jailed for 10 years last June but that was later reduced on appeal to six years and eight months.
MacKenzie, of Belgrave Gardens, Edinburgh, then faced moves by the Crown to strip him of his criminal gains.
In January he failed in a bid to have the confiscation proceedings halted on a legal technicality and behind-the-scenes talks continued to reach the agreed figure.
Jailing MacKenzie back in June 2006, judge Lord Kinclaven said he had admitted a prolonged and systematic fraud and a gross breach of trust.
Before he was jailed MacKenzie was sacked by the bank and worked stocking freezers and stacking shelves at a Tesco supermarket.