Works are set to resume on the Station Hotel in Ayr following a ruling at the Court of Session in Edinburgh.
Demolition work ground to a halt at the site earlier this week, more than seven months after the decaying building was ravaged by a huge blaze.
South Ayrshire Council confirmed on Wednesday that the property's owner, Malaysian businessman Sunny Ung, had lodged a petition at the Court of Session for the safety works to be halted.
The entrepreneur, also known as Eng Huat Ung, had his case heard at the court in Edinburgh today (Friday).
It's understood that Mr Ung was accusing the council of demolishing the hotel without giving him proper notice following the devastating fire in September last year.
South Ayrshire Council has now confirmed that works can continue at the site following the decision.
A spokesperson said: "The Court of Session has agreed that the safety works can continue on site. We will continue to provide works progress updates."
Train services through the station remain suspended, and most of the southern section, which suffered the worst damage in September's fire, has already been razed to the ground.
Work began recently on demolishing what is left of the tower that previously stood in the central section of the building, as well as part of the northern section, with the council stating the additional work was required on safety grounds.
Comments: Our rules
We want our comments to be a lively and valuable part of our community - a place where readers can debate and engage with the most important local issues. The ability to comment on our stories is a privilege, not a right, however, and that privilege may be withdrawn if it is abused or misused.
Please report any comments that break our rules.
Read the rules here