Is there a knack and /or a special tool needed?!

I’ve just spent 2 hours trying to get the high beams back in - there is almost no room to get your fingers on the electrical connector on the back of the bulbs with enough purchase to turn them - I eventually managed it although due to this issue I’m not even sure they’re secured properly (I just wiggled them enough to know they will stay out over bumps and called it a win!)

I don’t dare even look at the dipped beams (which are the outer ones and hence access will be even more cramped) - what’s the trick I’m missing here?!