When there is no room to stabilize a nut, what then?
I'd try simply wedging something in against the head of the bolt if you have any accessibility at all. Otherwise, an impact tool may break it loose even without support on the bolt. Often the inertia of the bolt's mass is enough to hold it against the tool's force.