Lawyer's pants catch fire in court