How does the concept of 'one-time magnanimity' by the state interact with principles of justice and equality before law?

The Supreme Court asked if Haryana could show 'one-time magnanimity' to an Ashoka University professor. I want to explore how such discretionary decisions fit within the broader framework of the rule of law and whether they set any precedents.