Import tracks / midi disconnected from instrument


I use a really large project as a template, with all the track disabled (INTRUMENTS and all the associated MIDI tracks) and sometimes i import a group of tracks into another project (the function “Import Tracks from project”).

Importing a folder with all the tracks is not an issue and works smoothly, however, when i enable them all the MIDI tracks are associated to random instrument and I have to pair them with the correct one again.

Is there a specific procedure to avoid this?