A permit holder who fails to comply with any of the directions given under section 22 or, where the directions are varied under section 23, any of such directions as varied, commits an offence and is liable on conviction to a fine at level 3 and to imprisonment for 6 months.