I think the one in the vault was fake. Anyway, the Sorting Hat was Gryffindor’s, so it can hand out the sword however it wants.
Ah. It’s good to have in interpreter! Thanks!