Transparent Alpha textures and Freestyle rendering
Move all objects that shouldn't have freestyle outlines to a new collection (you can select them, press M and create a new collection or choose an existing one). Then, in View Layer tab, inside Freestyle section, select the freestyle condition to also be based on a collection - then precise the new collection and choose exclusive to not draw over objects from that collection.