How safety officers can save themselves from the court in case of an accident