They told them to, but airlines are free to do whatever they want.
Or prosecute airlines for endangering pasengers by doing this.
Or refuse to approve any flights with flightpath in Belarusian airspace.
I think irrespective of that if airlines ignore such a directive then they'll be exposing themselves to a significant amount of liability if something happens again (i.e. the airline will be made to pay out damages and their insurance probably won't cover it).