This happened at an interview? I find this highly unlikely. Maybe I'm just in my own bubble but I just can't imagine this scenario.
None of what I've said has happened at large companies I've interviewed with like Google or Uber, but small startups definitely have some "interesting" practices.