New amicus brief adds wrinkle to Trump's immunity appeal