Plans to close 10 sheriff courts in Scotland in a bid to save money have been approved by the Scottish Government.
Duns Court, Peebles and Kirkcudbright could now close.
The changes, proposed by the Scottish Court Service, will also see seven justice of the peace courts closed, with business transferred elsewhere.
Justice Secretary Kenny MacAskill said the reforms were "justified".
Further consultations are set to take place.
More top news
The business was set to move to the WHSmith store in the centre of the town. 4,000 people signed a petition to stop the plans.
Almost 32,000 people have signed the 'Revoke Article 50' petition with Westmorland & Lonsdale having the highest number of signatures.
A social landlord in southern Scotland has developed a pet-friendly policy, making it easier for residents to own pets.