RESPA generally prohibits compensated referrals in connection with real estate settlements involving federally related mortgage loans .
They were able to do as many compensated referrals as they could .