State hospital denies patient despite judge's order to admit