US District Judge Edward Chen in San Francisco said in a ruling that Homeland Security Secretary Kristi Noem likely exceeded her authority when she invalidated those documents.