That part is technically accurate. In fact, I don't know many gun experts who would contend that either of those is the best weapon for that particular task.
Also I guess it needs to be pointed out (again) that civilian possession of those two weapons is already (almost entirely) illegal.
A woman wouldn’t “need” one of those weapons to stop him, but they’d do the job.