Phil,
The forks have to be out of the bike to replace the seals as the two tubes need to be separated by pulling the lower tube (silver) out of the upper (gold).