Geometry Nodes Handrail Profile Facing Upwards

That node-group is more for generated curves (mesh-to-curve or curve primitives). Using the Z-Up node group gives exactly the same results as the Z-Up Twist method, so @tomjk’s advice is correct for situations like this.

Good luck!