A lawyer who represented a man convicted of terror offences is to face a contempt of court hearing after criticising the trial.
Aamer Anwar (front right) with Mohammed Siddique senior
The move follows a statement read by Aamer Anwar after the trial of Mohammed Atif Siddique in September.
Judge Lord Carloway said the matter should now be considered by the High Court in Edinburgh.
In response Mr Anwar said the right to freedom of speech was one of the pillars of liberty and justice.
Siddique , 21, from Alva, in Clackmannanshire, was convicted of three terror charges and was sentenced to eight years in prison.
After the verdict, outside the High Court in Glasgow, Mr Anwar said his client did not receive a fair trial and it took place in an "atmosphere of hostility".
The Glasgow lawyer described the trial outcome as a "tragedy for justice".
Siddique's solicitor also said that the prosecution was "driven by the State".
Mr Anwar faces a hearing before up to three judges at the High Court.
In his written note, Lord Carloway said the remarks made by Mr Anwar were his personal views.
He described the statement to the media after the verdict as a "multi-faceted tirade".
"The remarks appeared to be an unjustified attack on almost every area of the trial process, other than the defence," said Lord Carloway.
The judge said that "the statement seems to be an attack on the fairness of the trial and thus presumably an attack on the court itself".
He added: "I will remit this matter for determination of the High Court in Edinburgh."
In response to Lord Carloway's note, Mr Anwar said: "I cherish the right to freedom of speech which is one of the pillars of liberty and justice, but as matters are under judicial consideration it would be inappropriate for me to comment until proceedings are concluded."
A date has yet to be fixed for the High Court hearing.
At a hearing two weeks ago, Mr Anwar's counsel said the solicitor believed he was "espousing the word of his client".