What a funny sentence!
First – a bonnet to my mind, is a hat for a lady, which Osric is not.
But that’s not the funny part really.
The funny part is the peculiar anthropomorphization of the bonnet. It’s not “its right use.” It’s “his right use.” His.
The bonnet has a gender and it’s male.
And that’s kinda funny.