How to remove building foam from car paint?

Hello care professional, a nice contemporary has recently foamed the door gap of the driver’s door at my wife’s car at night with building foam. The stuff sticks like devils, and we unfortunately have no comprehensive. Doors are piled up from the inside, and the greatest PRESENT mechanically removed with cutter and plastic spatula. Now is still a stubborn thin layer on the paint and keeps bomby. How can I get the stuff from the paint ??? Any ingenious ideas? According to a building foam manufacturer it can only mech Which abrasive polishes can do this? Perhaps Scratch X helps? Can you use 2500 sandpaper or do I screw up the paint? The whole thing is in the door fold and on the door side, so no smooth surfaces to work on. What a lucky thing that I didn’t catch the joker in a fresh act, because I can easily get tempted to become punishable. Greetings