Application of a separating or insulating coating