Subject to Section 10162.6, where an agent or broker holds a contract under Section 10150 granting the exclusive right to sell the property, the court shall allow to the agent or broker holding the contract the compensation determined under Section 10161 on:
(a) The full amount for which the sale is confirmed in either of the following circumstances:
(1) The bid returned to the court for confirmation is made by a purchaser who is not represented by an agent or broker and the court confirms the sale to that purchaser on that bid.
(2) The bid returned to the court for confirmation is made by a purchaser who is represented by the agent or broker holding the contract and the court confirms the sale to that purchaser on an increased bid made at the time of the hearing on the petition for confirmation.
(b) The amount of the original bid if both of the following circumstances exist:
(1) The bid returned to court for confirmation is made by a purchaser who is not represented by an agent or broker or who is represented by the agent or broker holding a contract under Section 10150 granting the exclusive right to sell the property.
(2) The court confirms the sale on an increased bid, made at the time of the hearing on the petition for confirmation, to a purchaser who was not procured by a bona fide agent or broker.
(Enacted by Stats. 1990, Ch. 79.)