The invalid inference to make about the excerpt is:
Only someone who was medically qualified could declare someone mentally insane.
This statement implies that only those with medical qualifications had the authority to determine mental insanity, which may not necessarily be supported by the content of the excerpt. The other options reflect perceptions and beliefs about the mentally ill that could be inferred from the context.