It is, though defense attorneys and judges rarely call them on this since it is a bridge-burner. Once you do this, you can be pretty sure they're acting within the rules/ethical obligations in future dealings, but you're also less likely to get good deals from them since they're much less willing to negotiate. This matters since most criminal defendants actually are guilty (and admit it!) and don't want to go to trial.