The apex court has stated that the two states and the central government need to solve the issue amicably through dialogue.