Extracted from #13980. After implementing #14171, let's look at a test coverage report and decide what to do from there. Marking as "bug". Guilty until proven innocent.