These holes are on a b16a2? Maybe I overlooked the information but I didn't see this listed my Haynes manual or the Helms I have online...
So place an allen or punch through the holes and that will hold the cams stationary enough to remove the cam gears?