The federal judge’s order makes pretrial bans on presidential advertisements easier to obtain