The reason saving a life overrides is in order to live to observe many more shabosos.
Thus the intention is to keep shabat & serve Hashem.
But one who desecrates the shabos because he dosent care to honor Hashems day is disrespectful thus his intention is in reverse.
Now may be a good time for a gem of Torah study.