The defendant appeared at Caernarfon Crown Court for sentence