Good luck with the gate valves! I'd put money on at least one of them letting by, the top one more so.
Space is tight, as 45ygm says spray up with WD, tap with hammer etc.
I don't know how much space you have to the right of the picture. A 52mm pump nut spanner from Screwfix would more...