Since like 99% of foreclosures in our fair state are non-judicial (by design and contract) this would likely be a non-issue.
Now if anyone tried to fight the foreclosure (which is honestly rare) this could come up.
However the real issue is that California repos don’t require a judge or atty. It just requires a dude to file a form at the county office and 17 bucks for recording.
In case you’re wondering, yes, this does result in errors and abuse.