I’ve always hated this comparison because the two problems are just not the same, at all. CFCs were nowhere near as ubiquitous as fossil hydrocarbons, and CFCs had an essentially drop-in replacement, which fossil fuels do not. There’s no non-hydrocarbon fuel that we can just replace for coal, natural gas, gasoline, diesel fuel, jet fuel, etc. None that I’m aware of, anyway.
I don’t think there’s any doubt about that. It’s just not a priority in most countries.