https://www.hg.org/legal-articles/what-is-an-unlawful-police-stop-23464
If the cop sees you (allegedly) not wearing your seat belt, and then pulls you over for a seat belt violation, that's a legal stop. I sort of agree with you that the headlights thing is bullshit (and briefly looking at the internet I think you're right). For all I know the officer realized that the headlights was bullshit, and randomly added in the seat belt thing. But, regardless, him saying the issue was the seat belt is going to hold up in court completely, and so refusing to ID based on that is going to get you in trouble. Your lawyer is going to have a hell of a time making that argument, especially if you then obstructed and resisted arrest.
IDK where this "if I don't agree, then I need to physically resist the cops, because it'll be okay" thinking came from, but that's not how it works legally. That's part of why I am taking time to disagree with this, because people do get busted for crimes because of listening to what the internet told them.
And to answer yoir question, if you find footage where the initial stop was deemed unconstitutional, but the subsequent conviction fir failing to ID stands, I will accept that I am wrong.
What was a stop where the initial stop was even deemed unconstitutional? If I knew that, then I might be able to answer you. Except for some landmark cases, I don't really know of it happening. I feel like that doesn't happen very often. I feel like people getting charged for failing to ID is very common (including where they are trying to argue on the side of the road that the stop is improper in some way, and that's why they are failing to ID and it's okay.) That's sort of my point.