I've read a considerable amount about Bonnie and Clyde over the years, including a couple of great books written in the last few and I never read a word about them holding a Texas Ranger.
That was only in the movie and the movie makers got sued successfully by Frank Hamers family for the fake depiction.
Had Clyde Barrow gotten a chance he'd have killed a hated Ranger.
As for the ambush, Bonnie & Clyde had punched their own ticket after killing so many lawmen and innocent people.
When you're a mad dog, you get put down.
Bonnie and Clyde had proven many times that they had no trouble killing cops, so in a case like that a lawman would be stupid to give them a chance to use Clyde's BAR and Bonnie's Browning Sweet Sixteen shotgun.
By that day's standards they were cop killers and no one wanted to duck a burst of armor piercing 30-06 bullets from a BAR.
I doubt a modern SWAT team would have done much different.
Even today, when you get people that dangerous and kill crazy......
Well, they punched their own tickets.