If Aufbau rule is not followed,
electronic configuration is K:
1s2 2s2 2p6 3s2 3p6 3d1.
Last electron is in 3d(instead of 4s),
hence d block (but it is of s block)
in all other cases valence electron doesnt changes its position so block doesnt changes in those cases.