Yes, because they thrived in the high c02 environment. The planet is constantly changing and always adapts.
To think that humans adding a tiny bit of CO2 to the incredibly benign .04% of co2 that exists in the atmosphere will harm the earth is a bit silly, don't you think?
The earth existed long before and will exist long after humans are gone.