( CNN) Debate about a bill before the Texas House about improving care for foster child speedily broke down into a heated argument about vaccinations on Wednesday, with one of the state’s more conservative lawmakers saying inoculations weren’t important for public health.

The anti-vaccination forces ultimately won, voting to bar physicians from vaccinating foster children during initial inspections. When one Republican tried to get an exemption for the human papillomavirus vaccine, moods flared.

The vote signified a major victory for the growing influence of the tiny but well-funded anti-vaccination crowd in Texas, one political commentator told.