Code Ref for TPR valve piping?

The LA code updated for 2020 now reads:

*Provide a temperature & pressure relief valve on the water heater. The valve shall discharge to an approved location. *
*Pressure relief valves shall discharge to the drain system through an air gap or outside of the building. (LAPC 608.3; *
LAPC 608.4)

There’s a new option in my jurisdiction for basements and areas where gravity is not an option:

[https://www.sanjoseca.gov/home/showdocument?id=26033

That said:
Retrofitting TPR piping into existing en-suite water heaters has caused so much damage to various buildings… probably far more than the cumulative damage to the few buildings where a water heater leaked and damaged the floor.