i could probably draw some strained comparison between these bachelors and the whipping boys who used to be part of the king's courts in England. They're being whipped for no fault of their own, but for somebody else's faults.

The same way as the whipping boys were whipped mercilessly when the young princes skipped lessons, or for whatever mischief they committed.