I can think of one scenario in which this case would be fine: A person who does not have a valid Mass which he or she can attend.
A person who lives perhaps 100 miles from the nearest church and cannot afford the time or the gas/upkeep to travel on the weekend, except for perhaps Christmas and Easter provided the weather cooperates, would be an example. I know there will be a loud chorus of people who claim they would drive all that and more blah blah. But sometimes what is possible for Ursula Upright, vigorous, healthy, financially secure, is not possible for Edna Elderly, who may have health and financial problems, family responsibilities, and other things which make it impossible for her to do what Ursula finds possible.
Or a person who lives in an area where there is a Catholic Church but the priest does not offer a valid Mass; specifically where the words of consecration are not used. (You may think this never happens but I can assure you, it does). If this is a person who perhaps lives in a small town where there is that one church, and there is also a hospital with hospice, or a prison, and that person can use public transportation to all the above but has no other vehicle and again the closest parish is 50 miles away, with no public transportation on the weekend, well again, that person could be justified. If there is no valid Mass, then the person cannot attend Mass, but as a practicing Catholic, would strive to do all that WAS possible for him or her.