IT carries a maximum penalty of a $110,000 fine, but apparently the fish at the Fitzroy River Barrage are worth the risk for some.
Lance William Eliott and Riley-John Trevor Hamilton certainly thought so, but that decision landed them both in the Rockhampton Magistrate's Court earlier this month.
TOP STORIES ONLINE TODAY
The pair pleaded guilty to trespassing, and Hamilton also pleaded guilty to possessing cannabis.
Police prosecutor Constable Manon Barwick said Fitzroy River Water has had ongoing issues with people trespassing to fish in the prohibited area of the barrage.
Around 6.30pm on November 28 an employee saw two men fishing off the barrage on CCTV cameras and called the police.
Once police arrived they had to climb over a locked gate and go past a sign which prohibited fishing in the area, before finding Eliott and Hamilton fishing on the riverbank below the barrage.
Both men told police they didn't know they weren't supposed to fish there.
A police search of Hamilton's backpack unearthed a small amount of cannabis.
Eliott was fined $300 and had a conviction recorded, while Hamilton was given nine months probation and had a conviction recorded.
The Barrage is closed to all forms of fishing 400m downstream of the dam wall, and 400m upstream.
Update your news preferences and get the latest news delivered to your inbox.