Supermarket car park

Parked in a supermarket car park, very late evening,very very few cars. Walked back to my car. Noticed a car parked next to it, bit odd given the space available. But thought little of it. About to turn on the engine, a guy in his 60s knocks on the window. I wind down, he says I’ve parked over the lines. I had – it was late and so I’d swung in where there was tons of space and nipped in. I said I’d be more careful next time but why had he chosen to park right next to me given the space available? He said he could park where he wanted and knew I’d be a female driver. I said I was leaving. He continued to try and talk over me in a very bullish way, me sat low down in the car him towering over. I tried not to listen and drove off and left. I felt awful and powerless and have just argued with my boyfriend as a result. Still tearful.