I believe they are attached to the troops of larger nations. The bilateral military integration agreements some countries in Europe have work similarly, for example a Dutch Grenadier (IIRC) unit is attached to the german Bundeswehr. For all practical purposes they are considered part of the German forces for the duration of that exchange.