The sentence "If you were in the defendant’s shoes, would you not have done the same?" uses a type of emotive language called:
A. Rhetorical question
This is because it poses a question not meant to be answered directly, but to provoke thought or highlight a point.