Yeah, I wasn't thinking that a Diplomacy check (no matter how good) would convince the guards to just give up and not do their duty. However, I think a reasonably good check woudl at least get them to stop and listen to what the PCs have to say regarding their actions, and (as Domino suggested)...