Analysis: Trump's lawyer appears in court