car failed emission diagnostic trouble codes are P1250 and P1477 on 1999 BMW 323i

P1250 is PRC Solenoid circuit malfunction
P1477 additional fan relay circuit malfunction. It has been to the BMW dealer ship three times and they have not fixed it yet

Asked by for the 1999 BMW 323i