Shaving cream is a soap and a soap always removes oil.
Thats what its for