Gas line run on baseboard heat

Today’s inspection found a copper gas line running to a wall heater. This line was run on top of the hot water baseboard heat. I know this is not a good idea but, I’m not sure if this is a defect. I want to recommend that the line be enclosed for protection from heat and punctures.

I would call that and wall furnace out. Both safety hazards IMO.