The Danish name for this is Priest Cock. A lot of our plants were named by just common peasant folk back in the olde days, so whatever they did not like was named after dogs, horses, priests and hags.
You can't judge a book by its cover, or a painting by its judge. Or a saying by how much sense it makes.