Hello Anders,
Strange ...
Looks to me to be most likely the center part of the engine hood torsion bar with cut off ends.
A bit too polished but the size is about halfway correct.
Don't know currently of any other part of the car that looks similar to that bar. Had most of the pieces in my hands throughout the last 5 years...
However, could also perhaps be one of the bars in the hardtop headliner... But I don't know for sure..., I think not.
If it is/were the engine hood torsion bar you need to get a new one.
Achim