Indeed.
These are public places, not private spaces - there is a big difference.
I don't like removing my shoes when entering anywhere which is a public place and never do.
Why? Because my $200 shoes have laces, are hard to replace when stolen as I need to order them from the US and I also wear socks all the time - with zero exceptions. So I am expected to either remove the socks as well or subject them to the 'filthy' floor inside the store - and yes, despite the no shoe rule the floors are absolutely filthy even though you can't see it.
I know this because the time I did remove my shoes all the dirt collected on the socks I wear.
So I've been in dozens of normal and high end restaurants over the last decade or two while in Thailand and nobody is ever requested to remove their shoes, all the staff are wearing shoes as well.