The court ordered framing of guidelines against bulldozer demolitions by States as a punitive measure.