A federal judge approved the ACLU’s request for a preliminary injunction on Tuesday after picking apart the ordinance’s logic.