Can you sell the energy you produce to your neighbour ?
The answer is CORRECT. Feeding energy into the grid always require to comply with the grid immission rules despite how the energy is then used.