And he was elected by the College of Cardinals. I believe they knew exactly who he was (and is). As you stated so clearly: “The man is a South American Liberation Theologist. He’s as red as they come.”
He was sold to them as a Great Reformer [tm] who would “clean things up” at the Vatican. Sort of like how the fox plans to reform the hen house.