Core polarisation effects in inelastic pion-nucleus scattering