Like other episodes this season, it also included content and storylines written specifically for the television adaptation.
However, in other ways, the episode veers back to book canon: "Whereas Loras' arrest suggested the show was replacing Margaery's alleged dalliances with his homosexuality, here the show gradually builds to Margaery's arrest for lying on her brother's behalf."[REF] .