Alan Moir has been locked up pending sentence after admitting his crimes at the high court.