Earlier quoted context omitted.
Beware the translation in some places. Google translates: "Une policière engueule une femme dont le garçon de trois ans court dans tous les sens" into "A police officer beats a woman whose three-year-old runs in all directions". The actual translation is: "A female police officer shouts at a woman whose 3-year-old is running all over the place"
Wow you are right. Given your example, Google Translate doesn't recognize the gender of the police officer at all. It didn't even get "sens" correct, it translated it to "means" instead of "direction" until I told it the correct translation.
Or it did and did not care, "police officer" is a perfectly valid translation for "policière", French is a highly gendered language, English significantly less so.