James threatened with a restraining order