I feel like someone junior tried to hide their oopsies and did this in an unprofessional manner like all juniors are bound to do at some point (like youtube killing IE6).

Ethics aside, how is what the engineer did "unprofessional"?