A man accused of murdering missing Margaret Fleming has been released on bail after his trial collapsed.

Edward Cairney, 77, was ordered not to approach any witnesses as he was released on Friday.

Cairney and co-accused Avril jones, 58, were both on trial accused of murdering Ms Fleming, but their trial collapsed on Thursday.

During a bail hearing on Friday, a judge criticised a decision by prison authorities to leave Cairney without a wheelchair.

He sat in a G4S van in the court car park during the bail hearing after Greenock Prison removed the wheelchair he had been using throughout the trial.

Lord Matthews said: "I'm staggered that the Scottish Prison Service think it appropriate to remove the wheelchair Mr Cairney has been using all this time. I want an explanation."

Jones was in court for the hearing, although she did not apply for bail.

Defence QC Thomas Ross said: "I would like to explain why Mr Cairney is not in the dock. Since he was fully committed he became the responsibility of the Scottish Prison Service.

"He is in the vicinity of this court in a van in the car park. When he was leaving Greenock Prison this morning the prison withdrew his wheelchair from him.

"The reason given was that it was expected that he would be granted bail and they were presumably concerned they wouldn't get their wheelchair back.

"They somehow managed to get him into the van at the prison, but G4S can't get him out this side. I was summoned to the car park area at 9.45am to see what could be done."

The court was told that there are no wheelchair facilities at the High Court.

Mr Ross added: "Mr Cairney is very angry and frustrated by this. He was encouraged to walk from the van and he believes he is incapable of doing this.

"It is very unsatisfactory that a man who has been in a wheelchair throughout the ttrial should have it withdrawn."

Mr Cairney was granted bail on condition that he does not approach any witnesses.

Prosecutor Iain McSporran QC told the court that the Crown would not oppose bail for Miss Jones if she changes her mind.

He added: "The Crown does intend to re-indict this case. A trial might take place in April next year. That is the current intention."

Mr Cairney and Miss Jones deny murdering Margaret at Seacroft, Main Road, Inverkip, or elsewhere in Scotland between December 18, 1999 and January 5, 2000, when she was aged 19.