The Prime Minister weighed in on a tuckshop dispute after a child was banned from a primary school canteen.