Its made from hard steel, which is much harder to scratch and damage than ordinary car paint (or indeed ordinary car bodies, which are made of softer steel).
Yes, paint is for protection, because ordinary cars aren't made from stainless steel. They would rust without paint. They still scratch more easily, with or without paint, than a car with harder stainless steel.