If Melachah was performed on Shabbath, but it was not necessary for the enjoyment of the product of the Melachah, can that product be enjoyed? What if the Melachah was the result of some other Melachah that made the later performance of Melachah necessary for enjoyment of the product?
For example, someone had a catered affair at Shul. Someone then took the leftovers home to eat, opting to drive, even though he could easily have walked. Can that food be eaten? What if it was first brought to someone else's house for a very short while, and now it definitely can not be easily brought to the second home by foot?