Man to appear in court for threatening President, PM : vimar