A court ordered that Tahmooressi, who'd been held on weapons charges, be freed, a Mexican federal government press release said.