No, but the threat of prosecution for possessing a dog with no licence might act as a deterrent. With legislation like this, you should really let perfection be the enemy of the good. It would be akin to saying that there is no point in speed limits, because some people are going to speed.