Electronic configuration of Ca is 1s2 2s2 2p6 3s2 3p6 4s2
Filling of 3d orbital starts after the filling of 4s orbitals. If the aufbau principle had not been followed, the filling of 3d orbital would have been prior to filling of 4s orbital and the electronic configuration of Ca would have been 1s2 2s2 2p6 3s2 3p6 3d2 and it belongs to d block.