The ending of this episode spoofs the end of the 1986 film Stand by Me (1986), which is also one of the stories Peter tells in the season 7 episode Three Kings (2009).
The title is a reference to the film "Brokeback Mountain".
Joe says his favorite movie is Backdraft (1991); Peter says he watched it and thought it was stupid.