WASHINGTON—The U.S. House of Representatives told a federal court Friday it should dismiss a lawsuit filed by the Securities and Exchange Commission because Congress is lawfully allowed to ignore requests to turn over records and testimony to the executive branch agency.

"Rather than acknowledge the fool's errand on which it has embarked, the SEC instead invites this court to join it by disregarding fundamental limitations on judicial authority," wrote House attorneys in a new court filing.