It's a federal requirement. The real solution would be not to have grade crossings, but America is generally incapable of building anything.
(Also, Congress is going to flip in two years. The only constant in US politics is that voters get bored of whoever's in power and vote against them in the midterms.)
I mean, sure. But this very article is about having built (erected?) electricity poles for those trains to run on.
Emeryville has no horn train crossings. It’s doable.