It may be worth less, but it won't be worthless. I have a hard time seeing another fuel source for long distance aviation (although we may move to synthesized fuel in the future).
Companies will also need feedstock for plastics - that use won't be affected by carbon caps at all.
You can still have them, but ultimately it's the people in western societies that will pay the price with their own pensions and social services gradually degrading.
2nd and 3rd world countries are going to bathe in cheap oil when/if the 1st world bans it.
How do you plan on enforcing the bans globally?
"Don't emit more than your fair share of carbon" is just another rule like the others. If most countries agree, but there are a few dissenters, we can deal with it like other international disagreements - warnings, then sanctions, then war.
Currently, we're far from that, because we don't have a majority of countries agreeing on carbon caps.
It happened to Venezuela because they refused to align with US interests, and with other economic and political issues, they were an easy target. The wikipedia page [1] has a nice summary of the list of countries on each side of the dispute, and you can see a nice 'pro USA' and 'anti USA' divide.
If worldwide carbon caps and tariffs become a thing, the oil and gas in the ground suddenly becomes nearly worthless if you can't use it.
Whereas China has a huge amount of not-good-for-much desert and mountains which could become a solar powerhouse.