A 20-year-old Algerian was caught up in wintry weather in the Pyrenees and found by police.