ke25 shocks bolt straight to the diff.
ke30 shocks bolt to the plate which sits under the springs.
depending on which way you're swapping, it might still work though.
I think ke25 axles are shorter than ke30 too, but axles/heads will fit each other, just can't use ke25 axles in a ke30 housing and vice versa.