In Victoria, an agent can buy his own listing provided he informs the Vendor in writing that he is buying it.
This also applies to any other of his associated parties (relatives and other work colleagues) - the agent must inform the Vendor.
As for right or wrong in this case we are...