Technically true, because it's passive. But still, you'd be using "It was wrong to do that" because it becomes impersonal, more than passive.
> "The code was broken" instead of "You broke the code" serves the same function.
Technically true, because it's passive. But still, you'd be using "It was wrong to do that" because it becomes impersonal, more than passive.