When Stock in F&O ban period

Hi,
Have a doubt . If a Stock stays in Ban period even during the day of month Expiry , how is the option premium calculated when it is settled?