He was with his girlfriend, even though he was under a court order to stay away from her