Spoiling kids are just over weekends or few days periods. These days grandparents want to give all the love and warmth to their grandchildren as soon they will come back to their parent houses. That is natural. After the grandparents vacation parents must explain that they are not like grandparents and their rules are different.
Sometimes you need to speak with grandparents and explain the course of your education or training so they would not spoil it.