The resident had been acting erratically and appeared to be under the influence of drugs, according to court filings.