The foam strip across the top of the battery box is fixed into the wing through the oem hole.
You could velcro the foam if you so wish, I've yet to have an issue when opening the bonnet.
Also, the foam compresses nicely, so I believe it would work well even on a CF bonnet.