Talking in terms of the currency often puts the issue backwards.
So? It's not maintaining its value. Who cares whether it's maintaining its value measured in baht? That would just mean the baht is also losing value.
And it's also true that the pound sterling can experience inflation while maintaining its exchange rate against the Thai baht.
But those two things cannot happen simultaneously; if the pound is experiencing inflation and maintaining its exchange rate with the baht, then the baht is also experiencing inflation.
a currency is "devalued" by, eg., money printing, only in the sense that eventually the new cash drives prices up
when speaking about "inflation" we're always talking about some sets of prices... even in the case of "general inflation", this does not mean global prices for all products -- it means a certain subset, eg., CPI
so the GBP can maintain its value in many senses whilst the person-on-the-street experiences CPI.. the value of GBP isnt only in "general purchasing power relative to market relative to baskets"
trivially, arbitrage opportunities do exist, markets aren't perfectly efficient.. so there can be cases where UK CPI inflation is "ahead of the global curve"