If a qualified black buyer had showed up with the proper documentation/money you’d have had to either sell to them or take the property off the market.
No realtor in their right mind would attempt to sue because they'd have to defend the fact that they were also breaking the law.