Judiciary of Scotland
In 2014 , Justice of the Peace courts replaced the previous district courts . In Justice of the Peace courts , lay justices of the peace work with a legally qualified clerk of court who gives advice on law and procedure . 
<triplet> clerk of court <subj> legally qualified <obj> instance of