Interaction of Energetic Solar Plasma with the Hermean Magnetosphere during Nominal and ICME Conditions