Dane here. I have had more than one coworker get that treatment.
Sure the company still has to payout salary, as per the contract, but plenty of companies do not want laid of people around.