Spain PM admits error of trust in corruption scandal