Check this out:Looking into it some more; ive got reason to believe that the 500amp-turns / mm of 80C neodymium is actually on the conservative side; and as such the 170Nm might actually be attainable for the grin all axle?
And if thats the case, im pretty sure nobody actually ever demagnetized an ebike motor, unless it was by running it up to 120C magnet temperature, or a fault that shorts their phases when going at speed.
But its quite frustrating, that I cannot find any empirical data as to what is safe, demagnetization wise, in a reasonably controlled experimental setting. If anyone knows of any crumbs of information, ill happily take them!

Maximum Operating Temperature VS. Curie Temperature | Stanford Magnets
The maximum operating temperature of a magnet refers to the highest temperature at which it can maintain its magnetic properties, while the Curie temperature is the temperature at which it loses its ferromagnetic properties and becomes paramagnetic.
www.stanfordmagnets.com