I can share my experience - I lost my passport and PR card both in May of this year in Spain. When i went to Indian Embassy they gave me two options:
1. To either get an Emergency Certificate to go back to India and apply for passport from there or,
2. To wait in Madrid, Spain for a new Indian passport to arrive from India.
I decided to go back to India, applied for my passport from there. And got a PRTD and then flew back to Canada.
The second option would've looked like so:
1. Wait for Indian passport to arrive from India.
2. Apply for PRTD in Paris, France
3. Wait for PRTD and then fly back to Canada.