HC warns state of contempt notice