No, as a vampire still needs to be invited into the home. A judge can make the sun assaulting officers with death rays illegal but theres nothing they can change about nature.
But couldn't the law be written so that a warrant once seen by the home owner must legally be considered a mandatory invitation, making the cop legally allowed to enter the home?

A, this is why magic isn’t real

B, the law can say whatever the fuck it wants it still can’t bend reality. More likely and much simpler, the vampire cop brings a non vampire friend who beats you until you “willingly” invite them both in and they plant drugs all throughout your house.

“According to officials; the residence was completely drenched in ooey-gooey sticky-blood-bits due to the homeowner’s recent satanic blood orgy. No further investigation will be conducted, as police chief “Brad The Impaler” has concluded that none is required.”