Question about Workshop & Legacy Addons

Suppose in a workshop addon (packed as a GMA and subscribed) and a legacy addon conflicting files. I mean they both have a file with the same name in the same path. Which one supersedes?

I was just curious about this, really.


Unpacked LUA files overwrite GMA addons.

Thank you.