Without precisely defining a full design, there's a lot of guessing involved. But generally, the code is only synthesizable, if the design guarantees, that the net BP is not driven by more than one driver at a time, so it can be replaced by a multiplexer.