Perth Sheriff Court was told a compromise had been reached between rafters and salmon fishermen in a feud over activities on the River Tay.
Salmon fishermen had claimed the rafts made fishing impossible.
Rafters will now only use the river from 13:30 on Wednesdays until Sunday evenings during the salmon season.
Solicitor Kevin Lancaster represented all of the interested parties when he appeared at Perth Sheriff Court to confirm that a deal had been agreed.
He confirmed that the rafters would only take to the water between Wednesday afternoon and Sunday evening during the official salmon fishing season.