A Supreme Court judge has admitted to committing a criminal offence in NSW just weeks after he was found guilty of assault and emotional abuse in his home state.