"...Cardinal Richelieu supported the Protestant King of Sweden...."

Yes, and Pope Urban VIII also support the Protestant King. At that time, Urban was suspicious of the Hapsburgs -- that they were thinking of their own interests rather than the church's -- and agreed with Richelieu. Whole period was very bizarre and worth a study or two. Urban and Richelieu were contemporaries.