(Bloomberg) -- The U.S. Supreme Court dealt a blow to Fannie Mae and Freddie Mac investors in their challenge to the government’s collection of more than $100 billion in profits from the government-sponsored enterprises. The justices threw out a core part of the investors’ lawsuit, rejecting claims that the Federal Housing Finance Agency exceeded its authority under federal law. Common shares of Fannie Mae slumped as much as 42% and those of Freddie Mac plunged 44%, both posting their steepest intraday declines since October 2014. Fannie Mae was down 36% as of 11:05 a.m. in New York.