shimming hydraulic roller lifters solid

I'm sure it can be and has been done successfully. My question about it is this. Since you must leave the plunger in, since that is what the pushrod seats on, how do you defeat the plunger from pumping up? Even after you remove the spring and check valve disc, Wouldn't the plunger still pump up some from oil pressure?