Nearly three dozen Ryanair passengers were hospitalised after their plane lost cabin pressure and made an emergency landing in Germany.