Silicones are generally pretty hard to stick. The only things that generally stick to them are other silicones.
I've had good results sticking things to silicone rubber with a 1 part silicone mastic (such as you can get from a builder's merchant), in a fairly undemanding application. Silicone foam is just rubber with bubbles in it, so 1 part (ie: acetoxy) silicone should work fine for that too.
There's also a product called silpoxy:
I'm not sure if it will stick to your paint. It may well. You'd just have to try it.
Please let us know how you get on.
HTH & Good luck,