Mental health hospital denies wrongdoing, asks judge to keep facility open