" In the crown court as we understand it the grant of legal aid that will ordinarily have been made in favour of a defendant can extend to the costs of the s. 4 hearing: for the criminal proceedings will continue to trial unless a determination of unfitness is first made under s.4: and see s.15(2) ands 17(2)(c) of the Legal Aid Sentence and Punishment of Offenders Act 2012 . But in cases where a determination of unfitness is made, the position then changes: because the representatives appointed to present the defence case (who will usually be those thus far acting in the earlier stage of the proceedings) will now have been appointed by the court and in circumstances where a s.4A hearing is not a criminal proceeding as such. So the costs order for the s4A proceedings in the Crown Court appropriately then should be costs out of central funds: that is so provided bys 19(3) of the Prosecution of Offences Act 1985 , and regulations thereunder, and by rule 45.1 of the Criminal Procedure Rules ."