We need to take the fact that we do not know into account at least. Just as it was not uncommon to view animals as non-sentient for sure in the past. We have no way of actually ->
-> measuring sentience, but we infer the likelihood from comparing the biology of humans and animals. But yeah, we have no clue about how consciousness works.
We can acknowledge the fact that we don't know everything, but we can't act based on things we don't know. Science or even doing anything rational would be impossible under such logic.
Science is a method that works great in some fields of life, but what gets funded, prioritized and is used as argumentation in human affairs are also subject to politics and economics.
The great thing with science (Scientific Method) over time is that it can only get better results over time, the special part is that it updates and discards mistakes systematically.