I've certainly seen it during my one involuntary stay; there, after I agreed to take medication and speak with my family to avoid a weekend turning into a full week, I was still sent to a full-time psychiatric ward all the same. Reading the notes of my evaluations later, it's clear the doctor didn't include the agreement or didn't trust that I'd honor it, and it was as if that section of the conversation never happened.
Remember, they think you're irrational at the time they're talking to you when it comes to psych evaluations. That is axiomatic in their thinking. You are entering the conversation with a clear and explicit power differential. Such a state is rife for the possibility of abuse, with your wishes being ignored being some of the least of your concerns.