The US president has sought to overturn his criminal conviction for falsifying business records, citing immunity.