The Parador, a state-owned hotel chain member, got the building for free with the stipulation that it continue to provide meals to Pilgrims. Long ago that was limited to 10 meals for the first to line up in the garage for each meal, and it was simple fare served just off the garage.
Last year or the year before, the service was closed during renovations. When it reopened, the meal, which appears to be only lunch now, depended on a ticket issued by the Pilgrim Office.
So, yes, this had some other purpose. Now it is just the government whim of the moment.
You can get a very nice, basic menu at lunch at the medical school on the way to the Pilgrim Office. I think the price is 5.90 E. You can enter through the front door if you know how to meander the halls past the anatomy lab to the stairwell to the basement, or you can enter through the car entrance on the north side. You will get to dine with the next generation of Spain's doctors!! Most were women. You buy the ticket from a vending machine, but the cashier will help you with the process. And, you won't risk offending the sense of entitlement of the Parador patrons.