Ahsan Shahid, a prisoner at HMP Kilmarnock, appeared in the dock at the High Court in Glasgow today.