When Capt. Strand says "Have fun storming the castle," he is quoting Billy Crystal's character Miracle Max from "The Princess Bride (1987)."
This episode was written by star Rob Lowe's son, John Owen Lowe, and directed by his brother, Chad Lowe.
Owen tells his crew to "have fun storming the castle" as they respond to a call. This is a quote from The Princess Bride.