Implications of a variable IMF for the interpretation of observations of galaxy populations