Impermeable stratum overlaying a reservoir which prevents the hydrocarbons contained in it from migrating to other rocks