I think what the OP did was a nice gesture.
=====
I think that some agents may refuse admittance (or try to) in these circumstances because they do not like to have their initial denial "overruled".
This is not meant as a slam on UA lounge employees. It is just an observation on basic human psychology.