E39 (1997 - 2003)
What is your state law on buyer or seller responsibility for SES/CEL & smog tests?
Edit: Change the question, as per E36_phantom in post #2 below, to more about the seller's specific legal responsibility.
Edit: Further generalized the question, as per Edjacks' comments in post #3 to cover both...