My understanding of Matter is that the pairing of a device is done with a Matter controller (openHAB, Google Home, …). During the pairing with the Matter controller, the device will be also connected either to a Wifi router or a Thread Border router, depending on the kind of the device. But this part is done transparently for the user.
The confusion for users can come from the fact that we have devices that are at the same time Matter controller and Thread border router. The openHAB server is a Matter controller but not a Thread Border Router. It is also a Matter bridge but that is another story.
I have not yet tested with Thread devices but for Matter over Wifi devices, I never had to select my Wifi router, this was done automatically and my Wifi router provided an IP in my local network to the device. So I just guess that it is exactly the same for Matter over Thread, a Thread border router is automatically found and it provides an IP for the device.
So any Ikea Thread devices could be paired with openHAB without being paired with the Dirigera hub as a Matter controller, even if the Dirigera hub could be used as a Thread Border Router in that case.
What I don’t know is how it behaves in case you have several Thread border routers. Which one is chosen ? The normal user probably can’t control that while a very advanced user has probably a way to control that through network setup.
@digitaldan could certainly add information and correct me if I am wrong.

