like a number of non-criminal “rules” I treat them with the respect they deserve.
If it’s clear that by not dismounting Im going to be putting myself in conflict with peds or cars etc then yes, if it’s something cretinous like the above then, no.
Same applies to certain paths specifically marked “no cycling” under a local bylaw on my local trails – one short section effectively prevents a circumnavigation of the hills, so I ignore it. If the bvylaw recognised the how sensible allowing a circumnavigation route at that point would be then I would be less cavalier about the obeying “bylaw” all over the hills.
In london there’s a lovely church with a huge pavement-slabbed area around it in Marylebone area (Wyndam). There’s plenty of space to pass without conflict between peds and bikes etc. BUT some git has put no cycling signs on bollards at each end of the paved area which forms a perfect link between two quiet roads that form cycleroutes. I almost go out of my way to ride there because for some jobsworth to explicitly aim to prevent it makes no sense.