"Thanks for the replies, but nobody has answered my question about whether the s400 and HFT500 stocks are straight swap either way. "

Yes they are a straight swap.
The only tiny downside with a HFT500 action using a S400 trigger guard is you cant slide the trigger back as far compared to the HFT500 trigger guard as thats open at the back.