The foam board in your country is likely the paper type? It’s heavier than FT board, we have it too. As above any aerosol paint can melt the foam. Paint the exposed edges with PVA glue before painting. No need to sand or key the surface of the paper board, just light coats from 12-18” away.