Soft or hard bolts for exhaust flange?

Are these studs or through bolts? (Not a slant guy, me) If through bolts, I like to use grade 2. That way if they seize, you have a chance at just twisting them off and replace.

I'm not sure it's a good/ bad idea, but years ago, I used to use brass nuts on studs.