In a decision released on Friday night , the United States Court of Appeals for the Ninth Circuit rejected most of the Navy 's appeal of a ruling that banned high-powered sonar within 12 miles of the coast and set other limits that could affect Navy training exercises scheduled to begin this month .