Mike Ashley has been ordered to pay the costs of Rangers chairman Dave King and the Scottish Football Association after abandoning a legal action.
The Sports Direct founder's company Mash Holdings dropped its application to force a court review of the SFA's decision to declare Mr King a ''fit and proper'' person to hold the position of Rangers director at a Court of Session hearing in Edinburgh in April.
The firm said it would not have raised proceedings had the SFA provided certain information at the outset.
Legal arguments followed between the SFA, Mash Holdings and Rangers on the issue of legal costs and Lord Bannatyne issued a written decision on Thursday ruling that Mash, as petitioner, is liable.
The written judgement said: "On the primary issue argued before me regarding the awarding of expenses, I am clearly of the view that the petitioners' argument should be rejected.
"I am persuaded that there is no proper basis for not following the normal rule that expenses should follow success. Where a party seeks on the morning of a first hearing to have the action dismissed then that party in my opinion must be held to have been unsuccessful."
The judge added: "The only matter I can be properly satisfied about is this: the petitioners have abandoned their action and therefore the respondent and interested party have been successful.
"For the above reasons I find the petitioners liable to the respondent and interested party in the expenses of the petition and proceedings."
The SFA cleared Mr King to sit on the Rangers board in May last year after ''unprecedented due diligence'', which involved scrutiny over his convictions for tax offences in South Africa as well as his involvement as a director in the lead-up to Rangers' liquidation in 2012.
In March 2015, Mr King led a group to take over from the previous Rangers regime which had close ties to Newcastle owner Ashley, who has a 9% stake in the Ibrox club.