The Lords of Waterdeep expansion card Impersonate Tax Collector lets you take the main benefit and the owner benefit on your buildings. Are both of these rewards part of the action of assigning an agent to that space, or is the owner benefit separate? If it is part of the same action, it should trigger other plot quests, such as Bribe the Shipwrights.
If a player has completed Impersonate Tax Collector and Bribe the Shipwrights, and controls The Three Pearls, when they assign an agent to this building do they get the extra rogue from Bribe the Shipwrights?
Impersonate Tax Collector says
Whenever you assign an agent to a Building you control, you also gain the owner benefit.
Bribe the Shipwrights says
"Whenever you take an action that provides any coins, also take 1 Rogue from the supply and place it in your tavern."
The Three Pearls has an owner benefit of two coins.