Poke Pelago sessions raise the Pokémon's EVs, not their base stats, which, as you stated, is 130 and 90, respectively. Base stats influence the final stat for a Pokémon more so than EVs and IVs, so, even though your Metagross may have more EVs and IVs in its SpD than in its Def, it's base Def stat is just that much higher that it's still more bulky on the physical side than the special side.
For a more in-depth explanation, non-HP stats are calculated using the following formula:
What this means is that, (disregarding the nature), every point of the Pokémon's base stat will give 2 points to the final stat, while every 4 EVs give one point (when at Lv100). So, theoretically, you'd need at least 320 Evs in SpD to match the Def stat, assuming IVs and Nature are the same for them, which, as you probably know, is impossible, since it exceeds the 255 EV cap. Metagross' SpD stat can only exceed its Def stat if it has higher SpD EVs, and either higher IVs, a +SpD and/or -Def nature.