You are the ruler of a medieval kingdom. This time, you've decided to throw a royal party with 10,000 bottles of wine, rather than just 1,000.
You remember the problems the courtier gave you with the wine last time — you search the kingdom high and low for a wine bottler who can produce 10,000 bottles in time for your party, but alas, the courtier is your only choice.
You plead with the courtier not to poison the wine this time around, under the threat of refusing to pay for the wine received — alas, on the day the courtier delivers the wine, it comes with a note containing exactly what you'd dreaded.
I must apologize deeply; for you see, a demon has besotted me. I simply cannot help myself. I have once again poisoned one of the wine bottles.
Whoever should drink the poison shall die at the stroke of midnight on the day that it touches their lips, but only if they drink it in the morning, before noon. Should they drink it in the evening (or indeed any time after noon), they will die at the stroke of noon the next day.
As you had so threatened me, so I shall not request payment for this wine.
— Your Humble Courtier
You grumble under your breath. You're going to have to kill some prisoners in testing again — you're running out of death row inmates in your dungeon to use for this!
It's currently morning, and your party is set to start at the stroke of noon two days hence. What's the fewest number of prisoners you can use to test to find the poisoned bottle, and possibly force the courtier to drink it himself?