How does the Indian polity ensure the protection of fundamental rights of its citizens during emergencies?

Analyze the mechanisms in place to safeguard fundamental rights when emergency situations arise in India.