>But equally, Raspberry could not trademark "Pi" or indeed "Raspberry"
One very close counter example would be "Blackberry". You absolutely can trademark common words for use in specific markets. Another infamous example is "Apple" as both a computer company and a music label. Had there been other computers already using "Raspberry" or "Pi", they likely would have run into issues using "Raspberry Pi".
Yes, though in Apples case they fell foul of Apple records and eventually settled that they would not do anything music related. That changed, though they financially better placed to handle and settle that issue than the initial conflict.
One very close counter example would be "Blackberry". You absolutely can trademark common words for use in specific markets. Another infamous example is "Apple" as both a computer company and a music label. Had there been other computers already using "Raspberry" or "Pi", they likely would have run into issues using "Raspberry Pi".