The dynamic VLAN assignment is applied on the anchor WLC. The anchor receives the updated client state and attributes from the foreign WLC, then places the client's tunneled traffic into the specified VLAN, the VLAN IDs don't need to match between foreign and anchor (only the anchor's VLAN matters for enforcement).
-hope this helps-