The Church as a whole never supported the distinction between liturgical and educational use, read from the Deuterocanons at Mass and confirmed them as inspired at Hippo and Carthage. If Luther wanted to make these distinctions for himself, as St. Cajetan noted, he could do so and he would be in a good company. Excluding them from the canon, however, was not what the historical Church ever did.
Luther should have taken St. Cajetan's advice and educated himself on the prayer for the dead, for example, from the books of Maccabees. His decision was the opposite, to redact from the Holy Writ what does not comport with his theological fantasies.
A lot of us are convinced that Holy Spirit guided Luther in a lot of respects.
Thankfully.