So what happens is that Marguerite finds his study room is open, and not guarded by his butler ( it’s what it said in the book) So then she goes in,looks around and notices the Scarlet Pimpernels ring, which is when she finds out. ( In the book it says that she assumed that Sir Percy was a fan of the Scarlet Pimpernel instead, if you like that version it’s fine)