I bought new cats and O2 sensors for mine recently and had the same problem as you. I was able to get the front bolts out but the ones toward the rear are rusted and rounded. You can try to get a nut extractor that is the right size or just cut them with a sawzall. You can replace with nuts and bolts, just get something zinc coated or other rust resistant metal and coat them with some anti-seize so future you doesn't have to go through the same painful experience.
Good luck
Good luck