We completely understand your frustration. Please note California's emission cutscores for older vehicles are not set to standards of when the vehicle was new, however California continues to tighten emission cut scores in order to meet the California Air Resources Board emission reduction demands.
Even when a vehicle is old (high mileage) if its emission systems are functioning properly it should be able to pass the California smog test. In rare circumstances where absolutely everything has been done to bring a vehicle up to emissions code and yet a failure still exists, the State's smog check referee's office may be able to assist. You may contact the Referee's Office by calling (800) 622-7733.