As others have pointed out, in the real world, whether or not it is a toy or looks like a toy is irrelevant so long as it can be taken out and used to threaten.
Does that mean I have to get a weapons permit for my replica black pudding from the Goodies episode The Battle of Ecky Thump?