RESPA generally prohibits compensated referrals in connection with real estate settlements involving federally related mortgage loans.
They typically do not allowed referral compensation when connected with federal mortgages.
They were able to do as many compensated referrals as they could.