In civil matters in California there is another way to bar evidence without sanctions being imposed. If you send the opponent a Request for Admission* and the opponent fails to respond, then the requesting party may file a motion to deem matters admitted.
If the opponent loses that motion, then all matters in the Request for Admission are deemed admitted for purposes of the case. There will be no need to present evidence on the matters deemed admitted, and no rebuttal evidence permitted. I have won a couple cases this way (opponents pro per, of course).
*A Request for Admission, generally, is a document asking the opponent to admit to the truth of certain facts (i.e., Please admit X is true. Please admit Y is true. Etc.). The opponent must respond to each request with an admission of truth, a denial, or, in some states, a statement that the opponent lacks information sufficient to determine the truth of the matter.