The third conditional is used for imaginary situations in the past and their imaginary results.
http://www.bbc.co.uk/learningenglish/english/course/intermediate/unit-9/session-2/activity-3
http://www.bbc.co.uk/learningenglish/english/course/upper-intermediate/unit-1/session-1