I could understand this if the business concerned had profit issues, but this is google and has record profits. Doing this seems like a cretinous move, for sure.
The only other reason for this might be because of interaction issues caused by working from home/office split. Even so, still a rubbish way of dealing with the problem.