The U.S. Securities and Exchange Commission exceeded its statutory authority, the appeals court says.