In van speijk case the repowering was changing from steam turbine to diesel engine.. so while the power output is less but diesel engine also has less weight, less crew requirement, better fuel economy, and better reliability..
but in other ships sometimes repowering changes the powerplant from...