Is the tube carrying on after the nut, or ends not far after?
Could you solder the nut in, or, solder a reduce either side of a bit of pipe containing the nut?
Alternatively, would a stud adapter be usuable instead, you can get them in most sizes, m6 m8 m10 etc, but it gives you an inch to...