That's the client's right but what a shame. With Amazon Flex and other gig work, more and more women are working as delivery drivers. There are also many small businesses where the man does most of the driving but the woman does a lot of the bookkeeping and research on which vehicle to buy or lease.
I remember when certain motorcycle shops were for male shoppers only. Now, any shopper with a motorcycle license may apply.