The featured entry for this thread on the front page has a link to a screenshot of the court case. Based on the way California restraining orders work, Ralph technically already has a restraining order in place. What Vickers would qualify for is called a Civil Harassment restraining order. The page which describes what that looks like is here:
https://www.courts.ca.gov/1044.htm
In particular:
Given that a hearing has been granted, this implies that a judge has already reviewed the evidence and determined Ralph is enough of a threat to warrant a restraining order. This puts Gunt at a pretty big disadvantage. He now has 4 days, 2 of which are non-court days, to find an attorney, give the attorney enough info to counter whatever evidence Vickers has submitted (which is unknown at this time) and appear in court.
Interestingly, CA restraining orders are much broader than I originally thought. From that same page:
Not only would the order apply to Vickers home and business, since those are his property, but it also becomes a no contact order for Faith and Xander. Ralph wouldn't legally be able to see his kid even if he and Faith met independently away from Vickers properties.