More context: They use rack-and-pinion railways in Switzerland [0][1] to accommodate the steep grades.
> The trains are fitted with one or more cog wheels or pinions that mesh with this rack rail. This allows the trains to operate on steep grades above around 7 to 10%, which is the maximum for friction-based rail. [0]