U.S. judge orders imam release