Relics are considered as Legendary items in the game's code.
In previous versions they explicitly stated that they were Legendary, but this was removed to make their distinction from other Legendary items that can be obtained in the dungeon.
Relics should probably not be a tradeable item, I guess...