Derbyshire courts told to clean up their act