The solar power is inherently less valuable to the grid than the wholesale power it can get from on-demand variable-output plants, or even the wholesale power it gets from always-on baseload power plants.
If they are forced to buy the uncontrollably variable distributed solar energy, it will be at the expense of the peaking plant, and possibly even the baseload plant, if there is a large enough gap between peak solar production and peak energy consumption.
So it should pay, at most, the price it would have otherwise paid from the power plants if distributed small-time solar installations weren't forcing their excess production back onto the grid.
That means paying less than wholesale. So those solar installations end up paying a bit for the service of using the grid a like a storage battery--as they should.
If you're going to demand equal compensation for your solar power as the peaking power plant, you will have to install equipment on your end that allows the grid to control how much power it chooses to buy from you. Otherwise, it's like haggling over the price of a meal that is already eaten.