I was by myself but I used the family bathroom.
If you were alone, why would you use the family bathroom?
It was an emergency situation and I couldn't hold it.
Emergencies happen and in this case it seems everything worked out okay. Just be sure to be courteous of other's spaces and leave them as they were before you used them. It's also a good idea to, in the future, use the appropriate restroom before it becomes an emergency situation.
I don't care! I just really had to pee and go to the bathroom.
Just understand that this bathroom is more for adults with kids. It is understandable that sometimes you can not hold it,  however just make sure there are no families in need of using it before going.