Lerwick man released from custody after apologising over jur