The aircraft departed Weston Airport (EIWT) with the intention of carrying out a solo navigation exercise under Visual Flight Rules (VFR) to Kinnegad, Co Meath, returning to EIWT. Shortly after passing close to the town of Enfield the Student Pilot noted a band of cloud and rain to the south of their position. In order to remain in Visual Meteorological Conditions (VMC), the Pilot elected to divert to Trim Airfield (EITM). Having located what was thought to be EITM, and with poor weather closing in, the Pilot attempted a landing. The aircraft touched down on an area of tilled soil to the south of the prepared grass runway. The aircraft also ‘landed long’, in that it did not touch down at the beginning of the chosen landing area, and due to the soft soil, when the brakes were applied, it pitched tail over nose and came to rest inverted. The Pilot sustained minor injuries.