Pellet gun? They are considered invasive so you shouldn't have to worry about laws.I would love to hear all of your ideas on how to get rid of starlings. They are like flying rats. They are getting into my sons barns and literally putting a layer of crap on everything.
They are in my MILs big barn, where all of the equipment is, tearing out the insulation on the ceiling and crapping on tools, equipment etc. They need to go.
I don't mind the song birds (sparrows, wren etc.) I can tolerate them as they are not as destructive. I hate starlings though.
Don't take my word for that though, consult somebody who knows the laws in your area.