I had a paper published in a decent niche journal without review at all (there. It got reviews and final verdict of "good content but too niche, reject" at another journal by another publisher). Editor read the paper and decided to publish it straight away, skipping the usual review process. While field is physics and this was the only time it happened to me (or any of coworkers), it can happen.
While it is evidently possible although unusual to accept even without review, I doubt any journal will decide to publish after receiving 2-3 negative reviews without any positive one. The only somewhat plausible scenario I can imagine is similar to mine - that reviewers feel content is good but not a good fit for the journal. Then editor overrules that particular objection (unlike in my case) and publishes it despite having all reviewers suggesting reject. It would be fairly exceptional, but I believe it could happen.
On the other hand, if the problem is in content, ignoring one critical reviewer when two feel the paper is fine is already slightly unusual though not too out of ordinary. Ignoring all of them raises all sorts of red flags. Reviewers will be pissed for wasting their time and the journal will look predatory: "we publish everything no matter the quality, we don't actually do reviews at all".