If you gotta go, then you gotta go. While some places may frown upon use of an emergency toilet it's a better alternative to not being able to use the washroom. In most cases the toilets are stealthy and you will be out of plain sight so nobody should notice it.