The hypothetical scenario came up in a hearing about Donald Trump's illegal termination of two federal board members.