Stability of Trojan planets in multi-planetary systems