The thread pitch is close..... But not the same.
Over the last 2 months I've had 3 barrels that need the threads tweaked because someone force matched the wrong threaded castle nut into the barrel threads......
The barrel splines, that the FH slides into are the same, castle nut threads are close, but not the same.