Court ruling affects US-Mexico border crisis