What a JERK!!!
I mean sure it might suck, but it's NOT something the cashier can fix. The nasty female needs to address this to her local government, not thrash the cashier who has no say or ability to change this.
I HATE when cashiers or other employees get turned into punching-bags for something that the city, county, or state/territory, or country decided on.