it would play havoc with joffrey 's claim to the crown , to be sure , but in the end it had been swords that had won the iron throne for robert , and swords could keep joffrey there as well , regardless of whose seed he was .