Close, but not entirely correct.
They do have a lawful right to hold your vehicle in the event of outstanding monies owed for repairs - this is called a 'repairers lien'. In the event of a vehicle being deemed unsafe, they have no legal right to hold it, seize it, crush it or do anything else...