I had luck sometimes by heating the bolts until they were glowing red and they'd come off that way. Other times, I'd just cut them off.
The last time I had to replace my exhaust, the ears of the flange for the bolts were basically rusted down to very little meat to hold anymore so I found...