Rencently I have experienced two scenario that pilots declared emergency due to short of fuel, one of pilots said he can not even fly to alternative airport because not enough fuel, and both of these two pilots did not change squawk to A7700, so my question is if pilot declared emergency, does controller have right to let pilot to change squawk to A7700?