The estate is not liable to an agent or broker under a contract for the sale of property or for any fee, commission, or other compensation or expenses in connection with sale of the property in either of the following cases:
(a) Where the agent or broker, directly or indirectly, is the purchaser of the property.
(b) Where the agent or broker representing the purchaser to whom the sale is confirmed has any interest in the purchaser.
(Enacted by Stats. 1990, Ch. 79.)