A squatter tried to sell the cottage he living in for £70,000, despite not owning the property.
Ewan Turner moved into Kirnie Cottage, Walkerburn, Peebleshire, after noticing it was empty.
Mr Turner, 36, tried to market the two bedroomed property after the owner's death in 2011.
Procurator fiscal Graham Fraser told the court that Mr Turner had been squatting in the property for nine months when he decided to try and sell it.
Mr Turner, from Abbotsford Road, Galashiels, claimed he had spent £8,000 on making the property 'liveable' after he found it lying derelict.
He pleaded guilty to a charge of pretending to be the owner of the cottage between March and May in 2011 and attempting to induce someone to sell it on his behalf and get the proceeds by fraud.
Sentence has been deferred until 17th December for background reports.
More top news
Looking back on a turbulent year: Paul Brand and guests discuss Brexit, Trump - and hopes for 2017.
Hawick's Balcary House has been converted into a hotel. It used to be a Banardos children's home. Two ex-residents showed us around.
A support worker has been jailed for stealing more than £6,000 from a pensioner she was supposed to be looking after