A restraining order isn't a serious criminal offence, although only court can decide on that. It is mostly use to restrict or instruct an individual or entity to act in certain way. Except if he fails to comply or convicted of same, or if the police fingerprint him. Otherwise, he should be fine.