That's how it should work.
I'm not sure it will actually work that way in real courts. At least not consistently.