The invalid inference to make about the excerpt is:
Only someone who was medically qualified could declare someone mentally insane.
This inference is invalid because the text describes how a judge, not a medically qualified professional, deemed Bly insane. This indicates that non-medical individuals could declare someone insane, which contradicts the inference.