It makes no sense to have static routes in the BGP template if the device supports routing.static node attribute. The BGP module should check whether the device can do static routes, make the necessary changes (similar to how we create static routes for hosts), and migrate bgp.originate values into bgp.advertise (see #3206) values.