@Romanov - to update you
There’s definitely a bug somewhere as duplicate cosmetics should not be gained from chests. I’ve now raised this in our database - so thank you for the report!
Also, your duplicate hat has been removed and the shillings you originally spent have been returned, so you can spend them on something else now