The intent of the Law is that you have no more than 20 per legal fisherman in the boat. 40 in possession means total not cleaned both on and off the water, ie at home or camp and on the boat. Just don't get caught on the water or at the ramp with more than 20 per legal fisherman and you are ok. And clean your catch promptly so as not to give the impression of any illegal intent. But as Wiskers said no short fish or your looking at a fine either way!