US government to appear in court over Prince Harry's visa after drug use admissions