Firearms restrictions are only obeyed by the law abiding, thus disarming them yet doing nothing to prevent criminals from arming themselves.
Knowing the potential victim might be armed is a proven way to dissuade criminals.