Model parenting in MHO too :)
Its too easy to give in in situations like that, but you didn't & that took some guts, so give yourself a big pat on the back - I just wish there were more parents like you, perhaps Schools wouldn't have such a hard time dealing with some Kids who just sadly haven't been taught how to behave & follow rules.
I've had similar situations with my own DD when she was young, she was a very bright Kid who knew exactly what & when to act up for best effect, she was also VERY defiant & VERY feisty - I'm secretly proud of her for that trait & years down the line can see its stood her in good stead on quite a few occasions -
BUT still knew she needed bringing into line or I was in for a very very rough ride
, like you I wouldn't of given in a situation like that & as a result DD respects adults & knows how to behave & we are constantly complimented on how well mannered, kind, thoughtful etc that she is, she's loved at School & is a model pupil, who gets really annoyed at the way some of her class mates behave, lots of her friends do to & trust me, SN aside, for the most part its pretty easy to spot the kids who have been brought up in the way you are now doing with your DD
DD very much still has her own - very strong mind - is still very feisty :) but has been taught how to behave, which surely is 1 of our most important rolls as parents
& for those who think this sort of parenting causes relationship problems with Kids - trust me it doesn't
if anything they thank us for it, as it is security to them to know there are boundaries,
DD has many times said that though we make her cross at times, she's really glad she has us & we don't let her do everything she wants to & tell her off if shes rude etc, she says she understands this when she looks at some of the more out of control kids at School & how hard it is for her Teachers & how she gets fed up with them for disrupting her lessons - so where as less strict parents might THINK they are creating a better relationship with their Kids - I doubt very much that they are & if my experience with DD is anything to go by, they do their poor DCs no favours at all, as it will NOT make them popular at School :(