The labour court of South Africa blocked a planned strike by banking workers on Friday, ruling that labour unions failed to comply with rules allowing demonstrations.

Workers who do strike will have no protection under the Labour Relations Act, judge Hilary Rabkin-Naicker said in her ruling in Johannesburg on Thursday.

The demonstrations were aimed at lenders that have consulted staff over job cuts in recent months.

Some South African banks, such as Standard Bank and Absa, have reduced branch networks and reorganised other units as they digitise their operations. The companies are also seeking ways to lower costs as they contend with slow economic growth.  — Reported by Roxanne Henderson, (c) 2019 Bloomberg LP