"Code, such person may be punished as for contempt; and such referee may report" . . . .