Barney concocts a plan when his father arrives at the hotel; Ted thinks he is being framed when a wedding-related duty gets messed up.