Being summoned to a public trial to see if your junk still works sounds like a nightmare we've all had in high school, and a trip to penis court (what we're calling it) to appear in an impotence trial (what it was actually called) absolutely lived up to that expectation. The embarrassment started with a woman's formal accusation about her husband's sleepy trouser snake, which everyone you knew was legally entitled to hear. Then, on the day of the trial, the husband's body had to be thoroughly examined by doctors and "experts" on the subject of sex, who would also ask questions like "Can you maintain an erection?" and "Is your wife's hymen intact?"
Your only hope was if you had a thing for the cold, clammy touch of total strangers.
Failing these examinations left the man with only one desperate recourse: to demand a Trial by Congress, which was a fancy way of saying "a 16th-Century bone show." The rules of a Trial by Congress were somewhat like those of trial by combat, in that to win, the husband had to draw first blood. Which is why every man was patted down for vials of blood, in case he tried to splash any on his wife and pretend he had roughly taken her maidenhead.