perfect pitch with a perfect pitch on a perfect pitch.

I didn't think it was legal in baseball to pitch a pitch with pitch on it. Or is that the bat?