Sure, but, for example, Jacinda Ardern isn't Donald Trump or Boris Johnson.
And at the time they did have a new cluster of locally-transmitted cases.
Of course I will have zero surprise if the right wingers now start pointing back to it as if it was a bad thing, because blind opposition to everything is just what they do. But at the time everyone was calling for it.