Governments are investing in solar because they want to be ahead in the renewable economy, where energy literally just falls from the sky. Is that a subsidy? I guess. It is also a good strategic move.
Are petrochemicals taxed or subsidized? I have no idea, it is a big tangled web. What are the costs of staying plausibly friendly with Saudi Arabia and other OPEC members, who pays that bill?
I’m not going to try and defend either way, but I don’t believe anybody who says they have an answer. If they did manage to analyze the entire global economy somehow (where to even start) I don’t think they’d post the answer here.