Complex sentence: Pilots with licences from foreign countries who are ICAO contracting states may apply to Transport Canada for a validation of their foreign licence which then allows thm to fly Canadian registered aircraft in Canada.
Split into simpler sentences: Pilots with licences from foreign countries that are ICAO contracting states may apply to Transport Canada for a validation of their foreign licence. This would then then allow foreign pilots to fly Canadian registered aircraft in Canada.