No, it can not.
Though the state is can differentiate as far applicability of its policies are concerned but it must be based on intelligible differentia.
In absence of that such biasness is arbitrary and unsustainable and hence can be set aside by invoking writ jurisdiction of court.