Hey Paul,
I think what you did was very admirable and you showed your best intentions to release the fish. However, under DPI rules, any fish that is not within the rules and regulations with regards to "size and bag limits" must be returned to the water! (Penalties apply)
This is a timely reminder that we are all responsible to know these "rules and regulations" whilst recreational fishing.
Regards,
scratchie mod team