Step 1: Recall that gastric acid output from parietal cells is partly driven by vagal cholinergic stimulation acting on $M_1$ muscarinic receptors.
Step 2: Pirenzepine is the prototype selective $M_1$ blocker. Because it preferentially hits $M_1$ rather than $M_2$ or $M_3$, it dampens acid secretion with fewer systemic antimuscarinic effects.
Step 3: A drug that lowers acid output is logically used for an acid-related disease, namely gastric (peptic) ulcer.
Step 4: Glaucoma, hypertension, and heart failure have unrelated mechanisms, so they are ruled out.
\[\boxed{\text{Gastric ulcer}}\]