The order came on a petition that contended that the arrival of Bangladeshi refugees had impacted the demographic balance of Assam.