The inspectors don’t have police power. It is legally up to the owner to determine if the vehicle should be repaired on the spot (which is the idea to sell the program to shops) or to illegally drive an unsafe vehicle home and assume all liability.
I would though suspect the poster had little mechanical expertise about brakes....after they told him the brakes failed the test....
At the least wouldn't you think about checking it out before you placed yourself in a possible "bad" situation?