Even if that person isn’t looking or acting like a Buddha, the capacity for love and compassion is in him or her.
That is what we bow to. Not to what the other person is doing or how they are presenting, but to the Buddha we know exist in them and that we can help grow.