i don't even know anymore

researching 17th century piracy tonight. came across this:

One popular pastime amongst pirates was the mock trial.  Each man played a part be it jailer, lawyer, judge, juror, or hangman.  This sham court arrested, tried, convicted, and “carried out” the sentence to the amusement of all. (x)

how widespread could this have really been? how would it have gotten passed from ship to ship? can you imagine a pirate crew at a tavern, bragging to another pirate crew about how good they are at playing pretend? why was their go-to game “legal system”? were they performing incisive satire? is this some sort of pirates-only inside joke that’s been lost to the ages?