That's not what it said.
Of course not. It's what Pope Leo XIII said.
You ignore Popes when they pronounce on the legitimacy of democratic republics just like you ignore them when they prounounce on the baptism of desire.
You cafeteria catholic, you!